User forums > Using Code::Blocks

Debugging or Compiling and running

(1/3) > >>

J-C:
Ok I have searched not only here but over the internet, and so far I can't seem to find a solution...

The thing is I try debugging my game and a console shows for like 100 milliseconds? then just quits.

I CAN run the app on the debug folder and it works wonderful, but I want to Debug, and be able to run it with out going to the folder it is at... Any help is appreciated.

oBFusCATed:
Can you describe exactly what you're doing? (please write all the steps you do)
Does debugging works with simple console project?

J-C:
 What I do:

step 1: I have all my code and load all my files

step 2: code compiles and works fine.

step 3: if I try to compile and run, it compiles but when it runs it shows a DOS window and closes, same if I try to debug....

I don't know how to be clearer.

oBFusCATed:
Try the console project :)

Also you can paste the full debugger's debug log from a debug session (after the debug -> start)?
The log should be enabled in settings->compiler & debugger -> debugger.
Use code tags, please.

J-C:
I have this question before I do that, do I have to include, libraries and what not on the PROJECT build options as well, to be able to debug?

Navigation

[0] Message Index

[#] Next page

Go to full version