Re: [dabo-users] Syntax Error: Create a OpenOffice SpreadSheet con = dabo.db.dConnection( memory: )

Author: Uwe Grauer

Posted: 2008-11-12 at 11:54:43

Bob Sysero llc Dev wrote:

>

> I did find a way to use winpdb in dabo by adding the line:

>

> import rpdb2; rpdb2.start_embedded_debugger('password')

>

> in my dabo script where my onHit methods are located I can then fire up winpdb to debugger.

> I ran winpdb selected password to enter the word password. The last step was to select

> attach to select my client rpdb.

>

> The dabo.trace() is simpler to use because you go right into the pfb debugger.

> iteam on my list is to learn how to use unit testing that is explained in the dabo wiki.

> My objective is to try my best to keep my support time down.

>

> Would you like to have me add to dabo wiki winpdb about what I learned?

>

> Thank you

> Bob

You can even start your script which you want to debug like this:

"winpdb script2debug.py"

When the debugger window is up you can set a breakpoint where you want

to stop execution. Then press the "Go"-button.

Uwe

©2008 Uwe Grauer