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

How run valgrind on Python C extensions?

P: n/a
I have Python C extensions that are giving me seg faults that I'd
like to run valgrind on.

Can I use valgrind on these through python?? HOW???

Is it easy or must I do some work like recompiling python source
with the -g extension?

Thanks!

Chris

Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

Chris> I have Python C extensions that are giving me seg faults that I'd
Chris> like to run valgrind on.

Chris> Can I use valgrind on these through python?? HOW???

Just run Python under valgrind's control. It will automatically take care
of it for you.

Chris> Is it easy or must I do some work like recompiling python source
Chris> with the -g extension?

Should not be necessary.

Skip
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.