Boa-Constructor 0.4.4-alpha
Zope 2.8.1final
Plone 2.1-rc3
Set up BoaDebugger product as described in docs-
Install Zope (2.8.1), Plone (2.1-rc3)
add a plone instance throught the ZMI e.g. with
ploneid=Acme
Copy the BoaDebugger Product
(http://cvs.bluedynamics.org/viewcvs/BoaDebugger/BoaDebugger.tar.gz)
to your Zope Products directory
Start Zope
From ZMI on localhost:8080/manage
Click on BoaDebugger below root
Click *Start* Tab
Click *Breakpoint Mode* Tab
Start Boa Constructer (python Boa.py)
From Boa Constructor, using Explorer open your
Zope_instance_Dir/Products/CMFPlone/MembershipTool.py
file (or anything else on your Zope's Python Path).
In the Editor, choose *File* and *Attach to Debugger*,
assign the values specified in your BoaDebugger
instance and connect to the Zope server.
Step through this file by pressing F8 several times
Set some breakpoints from Boa's Editor. e.g.
searchForMembers function in CMFPlone/Membershiptool.py
Finish debugging by pressing F4
Using a browser, browse to localhost:8080/Acme/Members
Click search
Boa Debugger shows the following error:
get the following error when using Zope 2.8.1 an plone
2.1-rc3
17:20:32: Traceback (most recent call last):
17:20:32: File
"/home/mick/downloads/boadebugger/boa-constructor-0.4.4/Debugger/Debugger.py",
line 445, in OnDebuggerOk
17:20:32: rcv( *( (event.GetResult(),) +
event.GetReceiverArgs()) )
17:20:32: File
"/home/mick/downloads/boadebugger/boa-constructor-0.4.4/Debugger/Debugger.py",
line 589, in receiveDebuggerStatus
17:20:32: frame['client_filename'] = (
17:20:32: File
"/home/mick/downloads/boadebugger/boa-constructor-0.4.4/Debugger/Debugger.py",
line 554, in serverFNToClientFN
17:20:32: return splitURI(filename)[3]
17:20:32: File
"/home/mick/downloads/boadebugger/boa-constructor-0.4.4/Explorers/Explorer.py",
line 75, in splitURI
17:20:32: return
ExplorerNodes.uriSplitReg[(protsplit[0], itemLen)]\
17:20:32: File
"/home/mick/downloads/boadebugger/boa-constructor-0.4.4/ZopeLib/ZopeExplorer.py",
line 1030, in uriSplitZopeDebug
17:20:32: else: port = int(port)
17:20:32: ValueError: invalid literal for int():
CMFPlone