By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,035 Members | 1,324 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,035 IT Pros & Developers. It's quick & easy.

Debugging Python Scripts inside other processes

P: n/a
I embedded Python in a Windows C++ program. Now I want to debug my
embedded scripts which of course won't run in any IDE process.
Commercial IDEs like WingIDE can attach to external processes by
importing a module in the scripts. Is there a debugger capable of this
which is Free or Open Source?

What I need are the following things:
- runs in Windows
- single stepping
- variable watches
- breakpoints

Just the typical debugger stuff.

Alex
Jul 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
A. Klingenstein wrote:
I embedded Python in a Windows C++ program. Now I want to debug my
embedded scripts which of course won't run in any IDE process.
Commercial IDEs like WingIDE can attach to external processes by
importing a module in the scripts. Is there a debugger capable of this
which is Free or Open Source?

What I need are the following things:
- runs in Windows
- single stepping
- variable watches
- breakpoints

Just the typical debugger stuff.

Alex

I used hapdebugger for such a purpose some time ago, but I believe it
needs a special startup python.exe.
--
Robin Becker
Jul 18 '05 #2

P: n/a
Robin Becker wrote:
A. Klingenstein wrote:
I embedded Python in a Windows C++ program. Now I want to debug my
embedded scripts which of course won't run in any IDE process.
Commercial IDEs like WingIDE can attach to external processes by
importing a module in the scripts. Is there a debugger capable of this
which is Free or Open Source?

What I need are the following things:
- runs in Windows
- single stepping
- variable watches
- breakpoints

Just the typical debugger stuff.

Alex


I used hapdebugger for such a purpose some time ago, but I believe it
needs a special startup python.exe.


I looked at it, but couldn't get it to work. A special python.exe won't
work for me since I only link against python24.dll, nothing else

Alex
Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.