| 
| Cannot debug generated "Hello world" CDT 4.0, Debian Lenny, x86_64 [message #197316] | Mon, 16 July 2007 04:53  |  | 
| Eclipse User  |  |  |  |  | Hi, 
 I have generated a "Hello World" application by using the wizard in CDT
 4.0,  I can build the application and it runs (it prints "!!!Hello
 World!!!").
 
 However, I cannot run it with the debugger. Creating debug run
 configuration (Run->Open Debug Dialog->C/C++ Local Application, new
 application and than Debug) first shows a messagebox with the title
 "gdb/mi" plus a timestamp) and the message "Error stopping at main.
 Reason Target request failed: Parsing Error. Continue?". Selecting "yes"
 shows a messagebox:
 
 Execution is suspended because of error.
 No executable file specified.
 Use the "file" or "exec-file" command.
 
 and the console output says:
 
 No symbol table is loaded.  Use the "file" command.
 No symbol table is loaded.  Use the "file" command.
 No symbol table is loaded.  Use the "file" command.
 No executable file specified.
 Use the "file" or "exec-file" command.
 kill
 The program is not being run
 
 I have no idea what to do. Can anyone tell me how I can debug a application?
 
 Additional:
 - I have verified that the file exists.
 - I have tried all debuggers (can anyone tell me which debugger is to be
 used when?) and with and without stopping in main. It made no
 difference: I could not debug.
 - g++ --version: g++ (GCC) 4.1.3 20070601 (prerelease) (Debian 4.1.2-12)
 - gdb --version: GNU gdb 6.4.90-debian
 
 
 TIA
 
 Joost
 |  |  |  | 
|  | 
|  | 
Powered by 
FUDForum. Page generated in 0.16317 seconds