User forums > Help

When I double click the debug which is next toC/C++ ,the*. exe is flashed past!

<< < (2/2)

jianlina:
Must I put a breakpoint at one of the line in the code? If I do not add any breakpoint , can I make the *.exe file stay like that I click "run" on the menu.
When I put a breakpoint  at one of the line in the code ,  then I click 'debug→start' on the menu , the *.exe file appears and minimizes quickly and automatically . How can I solve  the problem?
Thanks...

ptDev:
Does the compiled executable actually have debugging information? Check in the project build options whether you inadvertently checked "Strip all symbols information" (or something similar). If this option is checked at project level (rather than just at "Release" target level), you're trying to debug an executable that has no symbols table for gdb to track down.

oBFusCATed:

--- Quote from: jianlina on March 22, 2011, 02:26:55 pm ---Must I put a breakpoint at one of the line in the code?

--- End quote ---
You must... or you could execute getchar() before the "return 1;" line

Navigation

[0] Message Index

[*] Previous page

Go to full version