Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: gilado on November 24, 2005, 08:05:28 am

Title: Starting the debugger from Task Manager
Post by: gilado on November 24, 2005, 08:05:28 am
After installing Microsoft Visual Studio, you can start the debugger and attach it to a running process by selecting the process in Task Manager, right click and selecting debug.
Is there a way to set up codeblocks to accomplish the same behavior
Title: Re: Starting the debugger from Task Manager
Post by: Urxae on November 24, 2005, 11:39:16 am
Yes there is, but unfortunately not in RC2 (it's in recent CVS versions only).
So step 1 is to get a recent CVS binary. Available from Ceniza (here (http://gda.utp.edu.co/~ceniza/CodeBlocks/)) and Therion (here (http://paginas.terra.com.br/informatica/mauricio/codeblocks/)). Once you have these you can also get a more recent version by compiling from CVS yourself (sorry, a recent CVS build is required to build from CVS :roll:).
Step 2: Start Code::Blocks, Debug -> Attach to process...
Looks like it needs a PID, so you'll have to get that from somewhere (taskmanager can show them for you).

Edit: typos :evil:
Title: Re: Starting the debugger from Task Manager
Post by: sethjackson on November 24, 2005, 03:51:42 pm
Yes there is, but unfortunately not in RC2 (it's in recent CVS versions only).
So step 1 is to get a recent CVS binary. Available from Ceniza (here (http://gda.utp.edu.co/~ceniza/CodeBlocks/)) and Therion (here (http://paginas.terra.com.br/informatica/mauricio/codeblocks/)). Once you have these you can also get a more recent version by compiling from CVS yourself (sorry, a recent CVS build is required to build from CVS :roll:).
Step 2: Start Code::Blocks, Debug -> Attach to process...
Looks like it needs a PID, so you'll have to get that from somewhere (taskmanager can show them for you).

Edit: typos :evil:

SWEET. I didn't know C::B CVS could do that.  8)
Title: Re: Starting the debugger from Task Manager
Post by: mandrav on November 24, 2005, 06:34:05 pm
Hi, i downloaded the latest CVS binary archive(dated 21st) and the wxWidgets dll archive from Ceniza, but unable to open the .7z files :(. I have installed the 7z software from www.7-zip.org (tried with both 4.23 and 4.3 versions). The error i get is *.7z is not a supported archive. please help...

What does this have to do with "Starting the debugger from Task Manager" which is the topic title?
Please don't hijack topics like that...