On Jun 29, 2013, at 12:43 AM, Paul McNett <[email protected]> wrote:
> [1] I sometimes use a poor-man's breakpoint: 1/0 which will raise
> ZeroDivisionError
> presenting a complete stack trace. In this case, you'll probably want to
> allow some
> calls to go through and see the stack trace on others. For this, how about:
>
> if dabo.ui.areYouSure("break?"):
> 1/0
Isn't it clearer to just raise an exception? E.g.: raise
Exception("stop")
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]