User forums > Help

How to debug

<< < (2/2)

Michael:

--- Quote from: nev4 on June 23, 2006, 09:45:22 pm ---gdb-6.5/...

--- End quote ---

gdb 6.5 :?? AFAIK the last gdb available for MinGW is 6.3.2.


--- Quote from: nev4 on June 23, 2006, 09:45:22 pm ---how should i put it into one piece? Because i have not knowledge in compilers and debuggers.

--- End quote ---

On how to use a nightly build, have a look at here:

http://www.codeblocks.org/nightly/
http://forums.codeblocks.org/index.php?topic=3232.0

Best wishes,
Michael

nev4:
I have nightly build with all requirements, but on Hello World app i get this message:
Building to ensure sources are up-to-date
Build succeeded
Selecting target: default
Adding source dir: C:\Documents and Settings\nev4\Desktop\ore\testas\
Adding source dir: C:\Documents and Settings\nev4\Desktop\ore\testas\
Adding file: testas.exe
Starting debugger: done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
(no debugging symbols found)
Debugger name and version: GNU gdb 6.3

Program exited normally.
Debugger finished with status 0

sethjackson:

--- Quote from: nev4 on June 25, 2006, 10:31:07 am ---I have nightly build with all requirements, but on Hello World app i get this message:
Building to ensure sources are up-to-date
Build succeeded
Selecting target: default
Adding source dir: C:\Documents and Settings\nev4\Desktop\ore\testas\
Adding source dir: C:\Documents and Settings\nev4\Desktop\ore\testas\
Adding file: testas.exe
Starting debugger: done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
(no debugging symbols found)
Debugger name and version: GNU gdb 6.3

Program exited normally.
Debugger finished with status 0


--- End quote ---

(no debugging symbols found)

You need to enable Produce debugging symbols (-g option). :)

nev4:
Finally it works. I have set it (-g), restarted C::B lots of times. But now as I restarted PC it finally works.

Navigation

[0] Message Index

[*] Previous page

Go to full version