Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: TriTri on March 08, 2008, 12:46:28 pm

Title: Debugging without a project
Post by: TriTri on March 08, 2008, 12:46:28 pm
Hi

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

Thanks
Title: Re: Debugging without a project
Post by: 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".
Note that it will only work if you have "generate debug info" enabled and "strip symbols" disabled in your default compiler setting.
Title: Re: Debugging without a project
Post by: TriTri on March 08, 2008, 01:28:34 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?
Title: Re: Debugging without a project
Post by: thomas on March 08, 2008, 02:18:58 pm
Quote
Uhm... it isn't a good thing.
Yes, it is a good thing.
Quote
If 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.