News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Debugging without a project

Started by TriTri, March 08, 2008, 12:46:28 PM

Previous topic - Next topic

TriTri

Hi

How I can use the debugger without a project/workspace like Dev-C++?

Thanks

thomas

The only way to do that is by starting your program, then using the task manager to find out the program's PID, and finally selecting "attach to PID".
Note that it will only work if you have "generate debug info" enabled and "strip symbols" disabled in your default compiler setting.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

TriTri

Quote from: thomas on March 08, 2008, 01:14:40 PM
The only way to do that is by starting your program, then using the task manager to find out the program's PID, and finally selecting "attach to PID".

With the taskmanager!?  :shock:

Uhm... it isn't a good thing.
If I want to use the debugger I will get a project for each files?

thomas

QuoteUhm... it isn't a good thing.
Yes, it is a good thing.
QuoteIf I want to use the debugger I will get a project for each files?
Only if you want to use the debugger functionality integrated in Code::Blocks seamlessly. Or, any serious functionality for that matter.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."