Archaeopteryx Software, Inc.
Take Flight!Search

Wing IDE
About Us
Open Source

 Advanced Search

[wingide-users] Remote Debugging Problems

Wing IDE Support support at
Thu, 6 Mar 2003 15:04:19 -0500 (EST)


It sounds like there is a problem in the location-map that you're using:
Wing isn't matching up the file names correctly so it will fail to stop
at breakpoints.

You may need to use a backslash to line continue the location map
in your prefs:

debug.location-map{ '':None, \
'':[('/usr/local/zope/Zope-2.6.0', 'file:Z:/Zope-2.6.0')], }

Another thing to try is to Pause from Wing and see what files it complains
about not being able to find when you go up and down the stack.

You can turn on logging in WingDBG for more info on the file names it's
seeing on the debug server side, and also see some details on the IDE side
by running console_wing.exe from the command prompt on win32.

If that doesn't help, please let us know.


Stephan Deibel

Wing IDE for Python
Archaeopteryx Software, Inc
Take Flight!

On Fri, 7 Mar 2003, Greg Schlut wrote:

>    I am having a problem remote debugging my zope applications.  The 
> zope server runs redhat 7.1, and I would like to use a windows 2000 
> computer to do the debugging.  Wingide works fine when I debug from the 
> zope server, but when I use it on the windows 2000 machine wingide won't 
> do the remote debugging.  Can I use a windows wingide client to access 
> my linux zope server?  I am using samba to map my zope home directory to 
> drive z on my windows 2000 wingide host.  I can also see when I start 
> the wingide product, that wingide changes from Debugger: Ready and 
> listening to ---> Debugger: Program running [718 modules loaded].  This 
> part is good, my windows 2000 wingide is seeing the remote debugging 
> zope product.  When I then open my python code in the project and run 
> the url on the zope server port 50080, it doesn't stop a my breakpoints 
> or even debug.  What could be the problem?  I looks like the connection 
> to the zope server is fine, it just isn't debugging for some reason. 
> Below is my config.
> wingide preferences:
> debug.passive-listen=true
> debug.passive-hosts=('', '')
> debug.location-map{ '':None, 
> '':[('/usr/local/zope/Zope-2.6.0', 'file:Z:/Zope-2.6.0')], }
> Properties configuration in wingide:
>   Python executable and path are set to my zope versions. 
> "Z:/Zope-2.6.0/bin/python" and "Z:/Zope-2.6.0/lib/python" respectively. 
> These are accessed through samba.

Run by Mailman v 2.0.8

Copyright (c) 2000-2002, Archaeopteryx Software, Inc.
Legal Statements