[SciPy-user] debugging weave inline
eric jones
eric at enthought.com
Wed Oct 9 04:24:20 EDT 2002
Hey Micheal,
If you are running from a standard command line python (not a gui such
as PythonWin), the error messages from the compiler should show up in
the window - they are not suppressed in any way. For even more
information, you can use:
weave.inline(code,args,verbose=2)
which will print all the information of the compile to the command line
just like 'make' would. Either approach should also print out the name
of the .c file generated by weave with the line where the syntax error
occurred. You can examine the file in an editor to see where the error
occurred in your code.
Hope that helps,
eric
-----Original Message-----
From: scipy-user-admin at scipy.net [mailto:scipy-user-admin at scipy.net] On
Behalf Of Michael Sorich
Sent: Wednesday, October 09, 2002 3:00 AM
To: scipy-user at scipy.net
Subject: [SciPy-user] debugging weave inline
Hi
I have recently started to use weave.inline. It is great, however, I
spend a lot of time trying to find bugs in the c code.
Are there any tips for how I can best debug inline c code? Is it
possible to retrieve error messages from the compiler (eg for syntax
errors)?
Thanks
Michael Sorich
PhD Student
School of Pharmaceutical, Molecular and Biomedical Sciences
University of South Australia
Email: michael.sorich at postgrads.unisa.edu.au
mike_sorich at hotmail.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.393 / Virus Database: 223 - Release Date: 30/09/2002
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20021009/729475f0/attachment.html>
More information about the SciPy-User
mailing list