dbg.set_trace() should not be needed if breakpoints are used via the
web user interface.

The "line not found" issue It is a problem in py2exe and linecache
python module, I made a pull request with a patch.

In the meantime, you could use the source code version of web2py, that
should work as long you don't add new lines to the controller/model.

If you can, please confirm that the new patched version (when
released) works as expected.

Thanks for reporting!

Best regards,

Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com


On Mon, Sep 23, 2013 at 6:09 PM, 黄祥 <steve.van.chris...@gmail.com> wrote:
> had you already set the debug trace in your code?
>
> from gluon.debug import dbg
> dbg.set_trace()
>
>
> best regards,
>
> stifan
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to