How to get breakpoints to work in Windows program with CDT and MinGW? [message #149908] |
Sun, 24 July 2005 18:02 |
Eclipse User |
|
|
|
Originally posted by: erics.nospam.com
I installed the following:
- Eclipse 3.1
- CDT
- MinGW and it's nmake and gdb
I am not using cygwin.
I was able to build and run a console application (simple "hello world"
app). I was also able to debug the hello world app and set breakpoints
okay. The debugger stopped at the breakpoints just fine.
Next, I tried a simple Windows project. I was able to build an executable
and it runs. I was also able to set up a debug configuration (after setting
PE Windows Parser) and can run the executable with the debugger. But I
can't get it to stop at any breakpoints. What am I doing wrong?
I get the following messages in the console window:
Warning: C:\Documents and Settings\Eric\My
Documents\workspace\HelloWin/"C:/Documents: No such file or directory.
Warning: C:\Documents and Settings\Eric\My Documents\workspace\HelloWin/and:
No such file or directory.
Warning: C:\Documents and Settings\Eric\My
Documents\workspace\HelloWin/Settings/Eric/My: No such file or directory.
Warning: C:\Documents and Settings\Eric\My
Documents\workspace\HelloWin/Documents/workspace/HelloWin": No such file or
directory.
No symbol table is loaded. Use the "file" command.
(note: my workspace is set to C:\Documents and Settings\Eric\My
Documents\workspace and project is HelloWin)
I also got the above warnings with the "hello world" console app, so I don't
think they are the problem. But the symbol table one I didn't get before.
Do I have to set up a debug symbol table somehow? I poked around a little
and couldn't find anyway to do that.
Any suggestions?
Thanks.
- Eric S.
|
|
|
Powered by
FUDForum. Page generated in 0.04451 seconds