Re: [Numpy-discussion] f2py and debug mode

2014-10-06 Thread ferdinand.bayard
Hello ! And thx for answering ! Meanwhile, I founded a solution for my problem : I hacked some lines setting the compiler options in the f2py Python files, which enables the generation of pdb files for debugging. In msvc9compiler.py, line 432 self.ldflags_shared = ['/DLL', '/nologo', '/INCREMENTAL

Re: [Numpy-discussion] f2py and debug mode

2014-10-03 Thread Pearu Peterson
Hi, When you run f2py without -c option, the wrapper source files are generated without compiling them. With these source files and fortranobject.c, you can build the extension module with your specific compiler options using the compiler framework of your choice. I am not familiar with Visual Stu

[Numpy-discussion] f2py and debug mode

2014-09-30 Thread Bayard
Hello to all. I'm aiming to wrap a Fortran program into Python. I started to work with f2py, and am trying to setup a debug mode where I could reach breakpoints in Fortran module launched by Python. I've been looking in the existing post, but not seeing things like that. I'm used to work with v