Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
Date: Sun Sep 17 12:16:44 2006
New Revision: 5708
Added instructions for debugging with WingIDE.
--- Webware/trunk/WebKit/Docs/UsersGuide.txt (original)
+++ Webware/trunk/WebKit/Docs/UsersGuide.txt Sun Sep 17 12:16:44 2006
@@ -257,6 +257,29 @@
assert shoppingCart.total()>=0.0, \
'shopping cart total is %0.2f' % shoppingCart.total()
+Here is what you need to do in order to debug a Webware web site
+using the `WingIDE <http://wingware.com>`_ development environment:
+* Use the `MakeAppWorkDir <InstallGuide.html#makeappworkdir>`_ script
+ to make a local app work dir for your project.
+* Create a run-debug.py script in the work directory with these contents::
+ import sys, Launch
+ Launch.main([sys.argv] + ['DebugAppServer'] + sys.argv[1:])
+* Add that file to the WingIDE project if you haven't already.
+* Right-click and choose "Set As Main Debug File".
+Now you can run from WingIDE, set break points, examine the stack, use
+a Python prompt tied to any stack prompt, etc.
+WingIDE also has a "Debug > Attach to Process..." command which could
+be useful to debug a test or production server.