Debugging Extensions using Visual Studio 7.1

Discussion in 'Python' started by Ju-Lian Kwan, Mar 3, 2004.

  1. Ju-Lian Kwan

    Ju-Lian Kwan Guest

    Does anyone know how to get this to work? I've done a fair bit of
    searching with Google and couldn't turn up anything. I just want to get
    debugging to work so I've built a DLL using VC7 and it runs fine. I set
    breakpoints in some of the code. Set the command line/args to run the
    program from python, and then it craps out with: "Fatal Python error:
    Interpreter not initialized (version mismatch?)"

    Does anyone have any suggestions? Apart from building a debug python so
    I can set break points in it?
     
    Ju-Lian Kwan, Mar 3, 2004
    #1
    1. Advertising

  2. Ju-Lian Kwan

    RichH Guest

    In article <>, artifice_1
    _SPAM_ME_NOT@PLEASE_hotmail.com says...
    > Does anyone know how to get this to work? I've done a fair bit of
    > searching with Google and couldn't turn up anything. I just want to get
    > debugging to work so I've built a DLL using VC7 and it runs fine. I set
    > breakpoints in some of the code. Set the command line/args to run the
    > program from python, and then it craps out with: "Fatal Python error:
    > Interpreter not initialized (version mismatch?)"
    >
    > Does anyone have any suggestions? Apart from building a debug python so
    > I can set break points in it?
    >


    Just turn off optimization (to make it easier to step through the code)
    and build a release version. You can't mix debug and release builds.

    Cheers,
    Rich
     
    RichH, Mar 4, 2004
    #2
    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. wh
    Replies:
    2
    Views:
    540
    Cowboy \(Gregory A. Beamer\)
    Jan 16, 2004
  2. Thirumalai
    Replies:
    0
    Views:
    693
    Thirumalai
    May 22, 2006
  3. rockdale
    Replies:
    1
    Views:
    626
    Juan T. Llibre
    Aug 23, 2006
  4. xman
    Replies:
    0
    Views:
    527
  5. xman
    Replies:
    1
    Views:
    624
    Victor Bazarov
    Aug 17, 2005
Loading...

Share This Page