[SciPy-user] Debugging scipy.weave?

Orest Kozyar orest.kozyar@gmail....
Wed Jun 4 14:03:38 CDT 2008


Perfect.  Old fashioned "print" debugging helped me figure out the
problem.  Thanks!

On Wed, Jun 4, 2008 at 1:00 PM, James Phillips <zunzun@zunzun.com> wrote:
> 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@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@scipy.org
>> http://projects.scipy.org/mailman/listinfo/scipy-user
>
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
>


More information about the SciPy-user mailing list