On Nov 7, 2008, at 8:35 PM, Bob Sysero llc Dev wrote:
> I add the code:
> import pdb
> pdb.set_trace()
>
> to my test code Object:dButton1 Method:*OnHit
>
> Buttons = 3
>
> import pdb
> pdb.set_trace()
>
> self.Form.QuickButton1.Caption ="ORDER"
> self.Form.QuickButton1.FontBold = True
> self.Form.QuickButton1.refresh()
> self.Form.QuickButton2.Caption = "SHIPPING\nTest"
I hope that that's a copy/paste formatting problem, because what you
posted couldn't possibly run, due to the indentation differences.
Also, since this is so common of a requirement, you can just call:
dabo.trace()
to invoke the python debugger. It does exactly what:
import pdb
pdb.set_trace()
does, but in a single line.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]