gdb breakpoints not fixed yet in 2012
-
- CodeLite Curious
- Posts: 3
- Joined: Mon Apr 09, 2012 3:41 am
- Genuine User: Yes
- IDE Question: c++
- Contact:
gdb breakpoints not fixed yet in 2012
I thought this nuisance is going to fade away eventually, BUT I still dont get a solid GDB breakpoint behaviour on windows 7 64bit machine regardless of is there spaces in directory names or not. Moreover, if the breakpoint is being hit, the cursor is positioned somewhere below the target. Do I have to install windows XP 32bit virtual machine to be able to use these features? Stack overflow has these problems listen since start of 2011 and I see its not addresses yet, please fix them ASAP
-
- CodeLite Curious
- Posts: 3
- Joined: Mon Apr 09, 2012 3:41 am
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: gdb breakpoints not fixed yet in 2012
Here is a screenshot of code with 3 breakponts of which only the third got touched. Anyone can explain this odd behaviour?
http://postimage.org/image/mjsyyhpah/
http://postimage.org/image/mjsyyhpah/
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: gdb breakpoints not fixed yet in 2012
1) It seems that your codelite is configured to place breakpoint after 'main' is hit, to disable this 'Settings -> Debugger Settings -> GNU Gdb -> General' and make sure that the flag "apply breakpoints after main function is hit" is uncheckedUlterior wrote:Anyone can explain this odd behaviour?
2) The first breakpoint will never hit (gdb will place it inside the main function), so the debugger will stop but inside 'main' and not on the declaration line where there is no executable code
Posting the full debugger log (as the sticky post at the top of this forum suggested) could shed some more light on the problem
viewtopic.php?f=3&t=804
Eran
Make sure you have read the HOW TO POST thread