Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Debugging C++ Python Extension Modules
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bernhard Maeder  
View profile  
 More options Mar 10 2009, 11:49 am
From: Bernhard Maeder <bernhard.mae...@gmail.com>
Date: Tue, 10 Mar 2009 08:49:29 -0700 (PDT)
Local: Tues, Mar 10 2009 11:49 am
Subject: Debugging C++ Python Extension Modules
Hello all

I'm trying to debug my python extension modules with Zero-Bugs but
can't seem to get it to work. First my setup:

I'm executing my python unit test file with something like:

  zero python test_somemodule.py

which, in turn, imports and uses my extension module:

  from _somemodule import *
  ....

(_somemodule.so is the extension file).

I am able to produce an exception or signal which is then correctly
shown in the debugger. But I cannot set a breakpoint beforehand,
since, when starting up python, the extension is not yet loaded.

Also, trying to restart the program fails, I always need to quit the
debugger and then try again.

Am I doing something wrong here or is this just impossible with Zero-
Bugs?

Thanks a million!

Bernhard


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »