Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #16424

Re: Debug python from DLL callback?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <fabiofz@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'debug': 0.03; 'python': 0.08; 'executed': 0.09; 'subject:python': 0.10; 'am,': 0.12; 'c++': 0.12; 'callback': 0.16; 'received:209.85.213.174': 0.16; 'received:mail-yx0-f174.google.com': 0.16; 'switching': 0.16; 'url:pydev': 0.16; 'cc:addr:python-list': 0.16; 'wed,': 0.17; 'wrote:': 0.18; 'cc:no real name:2**0': 0.20; 'cheers,': 0.20; 'suggest': 0.20; 'header:In-Reply-To:1': 0.22; 'cc:2**0': 0.24; 'mode': 0.25; 'code': 0.25; 'remote': 0.28; 'jason': 0.28; 'message-id:@mail.gmail.com': 0.28; 'cc:addr:python.org': 0.29; 'nov': 0.29; 'subject:?': 0.31; 'anyone': 0.31; 'hi,': 0.32; 'wondering': 0.32; 'there': 0.33; 'received:google.com': 0.37; 'received:209.85': 0.38; 'subject:from': 0.38; 'url:org': 0.39; 'received:209': 0.40; 'might': 0.40; '2011': 0.61; 'here': 0.65; '30,': 0.74
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=4flgmRZlkFNQZnhTVRX5uQG56zRg9EgiYE5ZOa5GkCY=; b=gMS6/VVVPDYXnG9LJoRRnt+eLlZUeTibcmzrYu1Mj4fV+6H/EcyGlFS79XJMSTsTka YkSYGaCESJDFUoHALRuU0VPHJguwtAOtgnZUEojgmjvX2ye/Rz6WiHdqJ7L7ZprSmGU1 n2EIe+OyhpfPBrM+1uOnhDxnPg5qY7/MoxC1g=
MIME-Version 1.0
In-Reply-To <CAK4NeTHE57nj_Ui-pAe_4KW+21v_vEh00+tixwURybsWiRw21A@mail.gmail.com>
References <CAK4NeTHE57nj_Ui-pAe_4KW+21v_vEh00+tixwURybsWiRw21A@mail.gmail.com>
From Fabio Zadrozny <fabiofz@gmail.com>
Date Wed, 30 Nov 2011 07:48:19 -0200
Subject Re: Debug python from DLL callback?
To Jason Veldicott <jasonveldicott@gmail.com>
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3151.1322646523.27778.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1322646523 news.xs4all.nl 6944 [2001:888:2000:d::a6]:56810
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:16424

Show key headers only | View raw


On Wed, Nov 30, 2011 at 7:34 AM, Jason Veldicott
<jasonveldicott@gmail.com> wrote:
> Hi,
>
> I am wondering if anyone here might be able to suggest if there is a way of
> switching over from python execution into debug mode of an IDE, from python
> code that is executed as a callback from a C++ DLL?
>

Use a remote debugger: http://pydev.org/manual_adv_remote_debugger.html

Cheers,

Fabio

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Debug python from DLL callback? Fabio Zadrozny <fabiofz@gmail.com> - 2011-11-30 07:48 -0200

csiph-web