[SciPy-user] Debugging scipy.weave?
James Phillips
zunzun at zunzun.com
Wed Jun 4 13:00:32 EDT 2008
In your C++, use good old-fashioned:
#include <stdio.h>
std::cout << "name of something: " << value_of_something << std::endl;
Now *that* brings back memories of youth... P.U.
James Phillips
http://zunzun.com
On Wed, Jun 4, 2008 at 11:01 AM, Orest Kozyar <orest.kozyar at gmail.com>
wrote:
> I have written some C++ code that is integrated into my python scripts
> using scipy.weave. In general, it runs pretty smoothly when I run it
> over a small portion of my dataset. When I run my script over the
> entire dataset, it crashes the Python interpreter. I suspect this is
> a memory issue, but cannot figure out what is going on because it just
> refuses to crash when running under a debugger. When I run python
> under the GNU debugger (gdb), the script runs just fine. Any advice
> or pointers on how to debug this issue?
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20080604/1cf9da1c/attachment.html>
More information about the SciPy-User
mailing list