User forums > Help

How to debug

(1/2) > >>

nev4:
I try to debug any code with c::b and i get only error: This project/target has no debugging information. Please change this in the Project's build options and retry... What i should to do? i have not set up anything yet.

Michael:

--- Quote from: nev4 on June 22, 2006, 10:59:07 pm ---I try to debug any code with c::b and i get only error: This project/target has no debugging information. Please change this in the Project's build options and retry... What i should to do? i have not set up anything yet.

--- End quote ---

Hello,

You should give some further information as OS, C::B revision, compiler used, and so on.

Anyway, did you build with e.g., the -g flag (MinGW compiler)? See under Project-->Build options.

Best wishes,
Michael

PS.: You can search in the forum for useful thread/post :).

nev4:
I'm using WINXP, codeblocks-1.0rc2_mingw.exe, GNU GCC compiler, now have turned on -g flag. Still have same effect. Also messages box has line like this; "No symbol table is loaded. Use the "file" command.".
(I hope to have something (debugging) like visual c++)

I have file dbg_x86_6.6.03.5.exe but i dont know how to use it C::B if it must be used. It's Debugging Tools for Windows. But I can't redirect this for debugger through Settings->Compiler->Proggrams->Debugger, even if I add additional path.

Michael:

--- Quote from: nev4 on June 23, 2006, 04:28:33 pm ---I'm using WINXP, codeblocks-1.0rc2_mingw.exe, GNU GCC compiler, now have turned on -g flag. Still have same effect. Also messages box has line like this; "No symbol table is loaded. Use the "file" command.".
(I hope to have something (debugging) like visual c++)

I have file dbg_x86_6.6.03.5.exe but i dont know how to use it C::B if it must be used. It's Debugging Tools for Windows. But I can't redirect this for debugger through Settings->Compiler->Proggrams->Debugger, even if I add additional path.

--- End quote ---

Hello,

I would advice you to remove RC2 and download the latest nightly build. Download and install MinGW (installer 5.0.2, chose canditade) and gdb from www.mingw.org.

Best wishes,
Michael

nev4:
All I have now are:

wxmsw26u_gcc_cb.dll (this should be nightly build)
gdb-6.5/...
MinGW/...

how should i put it into one piece? Because i have not knowledge in compilers and debuggers.

Navigation

[0] Message Index

[#] Next page

Go to full version