User forums > Help

How to debug application compiled from an external Makefile ?

<< < (2/2)

rix:
After having a look at http://cvs.sourceforge.net/viewcvs.py/codeblocks/codeblocks/src/plugins/debuggergdb/debuggergdb.cpp?view=markup ,
seeing how the 'Changing directory to:' was displayed in DebuggerGDB::Debug(), I tried to specify 'Execution working dir' to '.', to skip this directory change.
But I always get the following:


--- Code: ---Selecting target: debug
Compiling: done
Starting debugger: done
Adding source dir: Z:\qt_applications\current\qt\
Adding file: Z:\qt_applications\current\qt\qt_app.exe
ยครณ: No such file or directory.
error
error

--- End code ---

So it seems the problem occurs later, and is in no way related to the working dir.

mandrav:
This seems like a bug in the debugger...
My suggestion is to change "qt_applications" to something less than 8 chars to see if this fixes it for you.

The debugger has been greatly improved in CVS and doesn't have the bug you mentioned.

rix:

--- Quote from: mandrav on November 21, 2005, 11:35:08 am ---My suggestion is to change "qt_applications" to something less than 8 chars to see if this fixes it for you.

--- End quote ---

I changed to a smaller directory name (z:\qt), but the problem still occur... :(


--- Quote from: mandrav on November 21, 2005, 11:35:08 am ---The debugger has been greatly improved in CVS and doesn't have the bug you mentioned.

--- End quote ---

Ok, I think I will try to compile the CVS version. ;)

Thank you very much!

Navigation

[0] Message Index

[*] Previous page

Go to full version