User forums > Help
GDB problem (yes, i've used the search)
astorga:
Open C::B;
In start page, I clicked "Create a new project";
I choose "Console Application", clicked "Go";
In wizard:
I clicked "next";
selected "C", clicked "next";
in "Folder to create project in:" field, I put "C:\", in Project title, I put "crash_test" (the project folder don't exist yet), clicked "Next";
clicked "Next" again;
Project created.
Then I clicked the gear icon to build the executable. When it finish building the program, I set a breakpoint on line 6 of main.c "printf("Hello world!\n");", clicked "Debug" menu, and then "Start".
The program runs until it ends, the breakpoint is ignored.
MortenMacFly:
--- Quote from: astorga on July 23, 2012, 05:52:38 pm ---Open C::B;
[...]
--- End quote ---
Well if I do it exactly the way you described it works fine here. ???
However - what you didn't tell: Did a full re-build solve your problem?
astorga:
Neither "rebuild" nor "clean and build" works. Same result. :-\
Kesitem:
Hello,
I just have the same problem.
After set my project on a new computer, Code::Blocks was not stopping on break point.
The problem was my project path have an accent.
What is your project path? Is there any space or accent?
Hope it can help!
(Sorry for my bad english)
ollydbg:
--- Quote from: Kesitem on August 17, 2012, 09:04:57 am ---The problem was my project path have an accent.
--- End quote ---
This may cause the gdb problem, so avoid using space or other non-alphabetic chars in the path.
--- Quote from: astorga on July 24, 2012, 02:24:46 pm ---Neither "rebuild" nor "clean and build" works. Same result. :-\
--- End quote ---
Please give us (post) the full debug log here.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version