Author Topic: no debug highlight or codeblocks highlights wrong line  (Read 4939 times)

rem

  • Guest
no debug highlight or codeblocks highlights wrong line
« on: September 06, 2005, 02:21:50 pm »
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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: no debug highlight or codeblocks highlights wrong line
« Reply #1 on: September 06, 2005, 06:43:00 pm »
Make sure your executable (the one being debugged) is not compiled with *any* optimizations turned on...
Be patient!
This bug will be fixed soon...

rem

  • Guest
Re: no debug highlight or codeblocks highlights wrong line
« Reply #2 on: September 08, 2005, 01:13:56 pm »
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.