User forums > Help

[windows] Debug problem - runs but exits

(1/2) > >>

darkwalk:
Hi:  This is my first time using code::blocks.  I'm migrating from Dev-C++.  First of all, I just want to say this distribution is better than Dev!  Good work people.  On to my problem:  I'm new to installing IDE's, so please bear with me.

These are the steps that I took:

Installed the official release with the MingW compiler

Found out that when debugging, the message "debugging information not found, blah..." error

Searched for a while in the forums for solution and did the following:

Downloaded the latest nightly build (today).

Unzipped it on top of the old installation.

Made sure the "produce debugging symbols" box is checked.

I made a new user variable "codeblock" and its value is "c:\programfiles\codeblocks\bin"

I also added the path to the system variable "Path"

The darn thing would not work and gives me the debugger output:

Selecting target: default
Compiling: done
Adding source dir: D:\Docs\GradSchool\Research\EngineControl\MineInCppCodeBlock\
Adding source dir: D:\Docs\GradSchool\Research\EngineControl\MineInCppCodeBlock\
Adding file: MineInCppCodeBlock.exe
Starting debugger: done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.3

No symbol table is loaded.  Use the "file" command.
No symbol table is loaded.  Use the "file" command.
Program exited normally.
Debugger finished with status 0



Does anyone know whats going on?  Am I not supposed to unzip over the old installation?  I'm baffled.  If anyone can help, I would greatly appreciate it.

mandrav:

--- Quote ---Am I not supposed to unzip over the old installation?
--- End quote ---

Yes, do not unzip on top of the RC2 install...


--- Quote ---Made sure the "produce debugging symbols" box is checked.

--- End quote ---

Checking the box is not enough: you must rebuild your project.

killerbot:
indeed do not mix nightly and rc2.

Just start with a clean sheet, i would advice to manually install Mingw and the cb nightlyl.

This is described as the first parts of the nightly cookbook : http://wiki.codeblocks.org/index.php?title=Nightly_Cookbook

darkwalk:
Thanks for the quick reply.  I have one question.  I'm on the last step in building the nightly build.  I accidentally put in the wrong global variable path.  How do I redefine it?  Everytime I reopen the "CbProjects.workspace" file, it does not let me redefine them...

killerbot:
settings menu -> global variables ;-)

cool men : you are now even building CB.

Navigation

[0] Message Index

[#] Next page

Go to full version