FAQ
Hi,
I want to debug my c++blocks which are dynamically
loaded into python for execution. I am using wingide for debugging python. But its limitation is that when c++module is called in python script it doent take me into c++ module. What I want is that I should be able to visually see the c++ code (unlike gdb) when it is called from the python script and I should be able to debug it ( step out, step into etc).And when c++ module ends it should take me back into the python module. In other words, I want to follow my program line by line.
Please guide me.
Thank you.
Regards,
Sanam

_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id`969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100425/101499ce/attachment-0001.html>

Search Discussions

  • Fabio Zadrozny at Apr 26, 2010 at 11:00 am

    2010/4/25 sanam singh <sanamsingh at hotmail.com>:
    Hi,
    I want to debug my c++blocks which are dynamically loaded into python for
    execution. I am using wingide for debugging python. But its limitation is
    that when c++module is called in python script it doent take me into c++
    module. What I want is that I should be able to visually see the c++ code
    (unlike gdb) when it is called from the python script and I should be able
    to debug it ( step out, step into etc).And when c++ module ends it should
    take me back into the python module. In other words, I want to follow my
    program line by line.
    Please guide me.
    Thank you.
    Regards,
    Sanam
    Hi Sanam,

    The usual way to work that way is having one of the debuggers work in
    remote debug mode (so, if you launch it from a python ide, the c++
    remote debugger should connect to it remotely, or if you launch it
    from the c++ ide, the python debugger should connect to it remotely).

    What I usually use is the pydev remote debugger
    (http://pydev.org/manual_adv_remote_debugger.html) and msvc (through
    tools > attach to process).

    Cheers,

    Fabio

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
categoriespython
postedApr 25, '10 at 9:17a
activeApr 26, '10 at 11:00a
posts2
users2
websitepython.org

2 users in discussion

Fabio Zadrozny: 1 post Sanam singh: 1 post

People

Translate

site design / logo © 2022 Grokbase