User forums > Help
can't debug effectively in win32...
dmoore:
because breakpoints refuse to set.
--- Code: ---Debugger name and version: GNU gdb 5.2.1
No source file named C:/source/codeblocks_src/trunk/src/plugins/classwizard/classwizard.cpp.
--- End code ---
before I start posting more detailed debug logs etc. what version of gdb is supported?
dmoore:
from the debugger (debug) log
--- Code: --->>>>>>cb_gdb:
> directory C:/source/codeblocks_src/trunk/src/
>>>>>>cb_gdb:
> set args --debug-log --no-check-associations
>>>>>>cb_gdb:
> break "C:/source/codeblocks_src/trunk/src/sdk/cbeditor.cpp:1162"
No source file named C:/source/codeblocks_src/trunk/src/sdk/cbeditor.cpp.
>>>>>>cb_gdb:
> break "C:/source/codeblocks_src/trunk/src/sdk/editormanager.cpp:464"
No source file named C:/source/codeblocks_src/trunk/src/sdk/editormanager.cpp.
>>>>>>cb_gdb:
> break "C:/source/codeblocks_src/trunk/src/sdk/editormanager.cpp:455"
No source file named C:/source/codeblocks_src/trunk/src/sdk/editormanager.cpp.
>>>>>>cb_gdb:
> break "C:/source/codeblocks_src/trunk/src/src/compilersettingsdlg.cpp:129"
Breakpoint 1 at 0x410708: file C:/source/codeblocks_src/trunk/src/src/compilersettingsdlg.cpp, line 129.
>>>>>>cb_gdb:
> break "C:/source/codeblocks_src/trunk/src/src/dlgabout.cpp:78"
Breakpoint 2 at 0x41410c: file C:/source/codeblocks_src/trunk/src/src/dlgabout.cpp, line 78.
...
--- End code ---
can't add breakpoints for any of the sdk. now trigger a breakpoint and add a breakpoint to an sdk file
--- Code: ---Breakpoint 1, CompilerSettingsDlg::AddPluginPanels() (this=0x22f41c) at C:/source/codeblocks_src/trunk/src/src/compilersettingsdlg.cpp:129
C:/source/codeblocks_src/trunk/src/src/compilersettingsdlg.cpp:129:4470:beg:0x410708
Current language: auto; currently c++
>>>>>>cb_gdb:
> break "C:/source/codeblocks_src/trunk/src/sdk/editormanager.cpp:456"
Breakpoint 3 at 0x6054a4a0: file C:/source/codeblocks_src/trunk/src/sdk/editormanager.cpp, line 456.
--- End code ---
???
MortenMacFly:
--- Quote from: dmoore on June 22, 2007, 01:16:02 pm ---
--- Code: ---Debugger name and version: GNU gdb 5.2.1
--- End code ---
before I start posting more detailed debug logs etc. what version of gdb is supported?
--- End quote ---
Search the forum - It's 6.3.2 IMHO (at least it's better not to use 5.x).
With regards, Morten.
mandrav:
--- Quote from: dmoore on June 22, 2007, 01:16:02 pm ---what version of gdb is supported?
--- End quote ---
Versions 6.x and up are known to work well.
dmoore:
thanks morten.
I suspect this 5.x version works ok...
--- Code: ---Adding source dir: C:\source\codeblocks_src\trunk\src\
--- End code ---
how do i add additional directories?
Navigation
[0] Message Index
[#] Next page
Go to full version