Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > debugging with wingIDE

Reply
Thread Tools

debugging with wingIDE

 
 
joelgleizes
Guest
Posts: n/a
 
      08-20-2003
I try to debug a python project with WingIDE.
I load my main file and launch debug session with Run
button.
I see a first message: "Listening for back-connection"
and then appears this error message :"The debug
process never connected back to WingIDE. Aborting
debug session"
I haven't seen anything in the error-log file

What does it mean?

Thank you
 
Reply With Quote
 
 
 
 
Mike Rovner
Guest
Posts: n/a
 
      08-20-2003
joelgleizes wrote:
> I try to debug a python project with WingIDE.
> I load my main file and launch debug session with Run
> button.
> I see a first message: "Listening for back-connection"
> and then appears this error message :"The debug
> process never connected back to WingIDE. Aborting
> debug session"
> I haven't seen anything in the error-log file
>
> What does it mean?


Tha IDE debugger was unable to connect to your program.

From WingDbStub.py:

""" wingdbstub.py -- Debug stub for debuggifying Python programs

Copyright (c) 1999-2001, Archaeopteryx Software, Inc. All rights reserved.

Written by Stephan R.A. Deibel and John P. Ehresman

Usage:
-----

This is the file that Wing DB users copy into their python project
directory if they want to be able to debug programs that are launched
outside of the IDE (e.g., CGI scripts, in response to a browser page
load).

To use this, edit the configuration values below to match your
Wing IDE installation and requirements of your project.

Then, add the following line to your code:

import wingdbstub

Debugging will start immediately after this import statements.

Next make sure that your IDE is running and that it's configured
to do passive listening and accept passive connections from the
host the debug program will be running on.

Now, invoking your python file should run the code within the debugger.
Note, however, that Wing will not stop in the code unless a breakpoint
set set.

If the debug process is started before the IDE, or is not listening
at the time this module is imported then the program will run with
debugging until an attach request is seen. Attaching only works
if the .wingdebugpw file is present; see the manual for details.

One win32, you either need to edit WINGHOME in this script or
pass in an environment variable called WINGHOME that points to
the Wing IDE installation directory.

"""

Mike




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem With Psyco on Wingide mac Arash Arfaee Python 1 01-22-2008 12:52 AM
psyco problem on mac wingide Arash Arfaee Python 0 01-20-2008 04:35 AM
Debugging C vs debugging C++ jacob navia C Programming 11 10-27-2006 07:19 PM
Wingide is a beautiful application vinjvinj Python 38 01-16-2006 10:01 PM
No Debugging of C# Server-Side Script, but Code-Behind Debugging Works Johann Blake ASP .Net 1 01-05-2004 03:01 PM



Advertisments