Archaeopteryx Software, Inc.
Take Flight!Search

Wing IDE
About Us
Open Source

 Advanced Search

[wingide-users] Debugging a Zope external method

Wing IDE Support support at
Mon, 19 May 2003 10:53:31 -0400 (EDT)

The easiest thing to do is to run the Zope instance and Wing on the same 
machine and as the same user and it will just work.

If you need to debug remotely to another host, you will need to share the
directories where the source is located and configure a location map so
Wing can match up the location of the files on the two machines.

Setting up the location map is described in section 6.15.4 of the manual:

When debugging remotely you will also need to copy over the .wingdebugpw
file from the host where Wing is running and point WingDBG at it.  This
file is in profiles/[username] inside your Wing IDE installation on 
Windows, or in ~/.wingide on Linux/Unix.

Hope that helps.

Stephan Deibel

Wing IDE for Python
Archaeopteryx Software, Inc
Take Flight!

On Sun, 18 May 2003, Sean Winstead wrote:

> Hi,
> I'd like to debug Python scripts hosted by Zope and was excited to learn
> that WingIDE would allow me to do so. I'm in the middle of configuring
> WingIDE for remote debugging and have a question regarding the file sharing.
> I want to debug a Zope External Method. So do I need to share the
> \Zope\Extensions directory holding the actual Python script containing the
> external method or is it sufficient to use Zope's WebDAV support to share
> Zope's folders, one of which contains the External Method instance?
> If the External Method references other Python scripts located in the
> \Zope\Lib\Python folder, do I need to set anything on the Zope side so that
> the Wing IDE debugger can see those files?
> Thanks for your time.
> --
> Sean Winstead
> ---

Run by Mailman v 2.0.8

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