User forums > Using Code::Blocks

Debugging without a project

(1/1)

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.

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".

--- End quote ---

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:

--- Quote ---Uhm... it isn't a good thing.
--- End quote ---
Yes, it is a good thing.

--- Quote ---If I want to use the debugger I will get a project for each files?
--- End quote ---
Only if you want to use the debugger functionality integrated in Code::Blocks seamlessly. Or, any serious functionality for that matter.

Navigation

[0] Message Index

Go to full version