How to debug pyd File in Vs???

Discussion in 'Python' started by Junze Liu, Jan 25, 2013.

  1. Junze Liu

    Junze Liu Guest

    Recently, I build a hybrid system with C++ and python.
    First,I encapsulate a class(I can't guarantee the robustness of this class ) with boost.python which can implement some functions that can not be implemented by C++, I get a .pyd File in result.
    Second,I embed a python interpreter in c++.
    Third, use the embed interpreter to execute a .py File.The .py File include the module that in .pyd File I created.
    Here, the problem comes out! When I start my main project. I can only debug the problems in my main project, when my main project use the python interpreter to execute the python interpreter, I can't see what happened in my pyd File, the whole project collapsed.I know the error is in the pyd File, and if I set a break point in my resource files of pyd File, either the project will go to the break point.
    Is there any methods to debug the resource file in this condition!
     
    Junze Liu, Jan 25, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Keeling

    import pyd from zip file

    John Keeling, Sep 2, 2004, in forum: Python
    Replies:
    1
    Views:
    413
    David Bolen
    Sep 2, 2004
  2. Bernard Lebel
    Replies:
    0
    Views:
    286
    Bernard Lebel
    Oct 19, 2006
  3. Bernard Lebel
    Replies:
    5
    Views:
    321
    Gabriel Genellina
    Dec 12, 2006
  4. Replies:
    2
    Views:
    464
    =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
    Apr 11, 2007
  5. bharathi.apsara
    Replies:
    0
    Views:
    129
    bharathi.apsara
    Feb 10, 2014
Loading...

Share This Page