Debugger stops program when stepping from the opening brace line to the first line of the function.
mvolden2 at gmail.com
Thu Dec 29 21:42:04 UTC 2011
I have been experiencing some problems with the debugger.
I have a piece of code that looks something like this:
void parseConfigFile(std::string const& filename)
if(line.empty() || line == '#')
std::cout << "Empty line or comment" << std::endl;
if(line == '[')
std::cout << "Section" << std::endl;
std::cout << "Parameters" << std::endl;
int main(int argc, char **argv)
When I step into the 'parseConfigFile' function the debugger stops the
program stops as soon as I step from the opening brace line to the first
of the function.
Running the program in GDB works as expected.
The output of the 'Show internal commands' in the GDB window is here:
A courious thing: It indicates that a break point is attempted set in a
file that belongs to another project (That project was not even loaded
during debug session)
Any idea what is going on here?
- When the split is pulled, mr. Grenade is no longer our friend
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KDevelop-devel