User forums > Help
no debug highlight or codeblocks highlights wrong line
(1/1)
rem:
Does any know what is going on. Often when I want to debug my program I just can't use gdb with codeblocks becouse it show wrong code line or it doesn't show it at all. I know that debugger is working becouse it changes the variables in watches window but i don't know which line is currently executed. When I try to debug the console project everything is ok, but not with wxwidgets. If i set display debuggers log's I can see it in the debuggers log's window. But still no line is highlighted
rem
mandrav:
Make sure your executable (the one being debugged) is not compiled with *any* optimizations turned on...
rem:
Project : wxWidgets application
Compiler : GNU GCC Compiler (called directly)
Directory : C:\Dev-Cpp\Projects\Smieci\Śmieci1\
--------------------------------------------------------------------------------
Now I know what was the problem, I started my project in the Śmieci directory with Ś letter on the beginning. When I changed it to S the problem is gone. Thanks any way, mandrav for your advise.
Navigation
[0] Message Index
Go to full version