User forums > Help
Debugger cannot open files
carrejans:
--- Quote from: oBFusCATed on November 19, 2009, 03:55:09 pm ---Please update to gdb 6.8 or 7.0+ 6.3 is quite old!!!!!
--- End quote ---
Still the same problem.
ollydbg:
It seems you want to step into the wxwidget library(debug version). My question is: How do you build your wxWidget library?
carrejans:
--- Quote from: ollydbg on November 19, 2009, 04:51:37 pm ---It seems you want to step into the wxwidget library(debug version). My question is: How do you build your wxWidget library?
--- End quote ---
Something likes this:
mingw32-make.exe -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1
and
mingw32-make.exe -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=debug UNICODE=1
I have used them, and they work. Don't have any compiler errors either, but my program crashes.
So, I want to debug. But I get the error that they can't find the files. (debugger searches in the wrong directory)
ollydbg:
Some months ago, I used the wxPack, then I can't debug into the wxWidget's source code.
See my post:
how to debug into wxwidget source code?
report the Debugger problem about the tracking into wxWidgets source
I guess this is a issue about the path problem.
You should use the "absolute path" to build your project.
Check this option: settings->compiler and debugger settings-> advanced compiler options -> use full path for source files
carrejans:
--- Quote from: ollydbg on November 19, 2009, 05:23:15 pm ---Some months ago, I used the wxPack, then I can't debug into the wxWidget's source code.
See my post:
how to debug into wxwidget source code?
report the Debugger problem about the tracking into wxWidgets source
I guess this is a issue about the path problem.
You should use the "absolute path" to build your project.
Check this option: settings->compiler and debugger settings-> advanced compiler options -> use full path for source files
--- End quote ---
Good to see I'm not alone with this problem.
So the only solution this far is to have your project in the samples directory of wxWidgets.
Or are you saying that with using an absolute path, it can be solved too?
I can find: settings->compiler and debugger...
But then I can't find the "advanced compiler options"; and neither "use full path for source files".
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version