Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: roczhang on March 25, 2010, 11:12:32 am

Title: How to debug in CodeBlocks when I need other script to invoke my project.
Post by: roczhang on March 25, 2010, 11:12:32 am
The requirement is that:

My application is shared library which bases c++ language and I use the python script to run it .
 
How I debug my library in the Code::Blocks? It means that how I invoke the python script in order to debug my library in Code::Blocks?


I have tried it in the google and review the manual of Code::Blocks ,  but cant find the answer.

Would any one help me? Thank you very much.


 
Title: Re: How to debug in CodeBlocks when I need other script to invoke my project.
Post by: oBFusCATed on March 25, 2010, 12:13:22 pm
You can try to start the script from the console and then attach to the process with Debug-> Attach.
Title: Re: How to debug in CodeBlocks when I need other script to invoke my project.
Post by: roczhang on April 01, 2010, 11:41:25 am
Yes, it works.
 Thank you very much  :D