web2py debugger breakpoint works once only in 2.16.1

37 views
Skip to first unread message

David Manns

unread,
Mar 12, 2018, 5:56:08 PM3/12/18
to web2py-users
This can be demonstrated with the welcome app.

Start web2py

Display the admin page, go into debug, breakpoints and set breakpoint on line 9 of the welcome app default.py

Launch the welcome page - the breakpoint is hit.

Click continue ... the welcome page displays

The admin/breakpoint page still shows the breakpoint as set.

Launch another welcome page - it displays without any breakpoint.

Also, if you try to clear the breakpoint, it disappears from the admin/breakpoint page, however the console now shows an error:

web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2018
Version 2.16.1-stable+timestamp.2017.11.14.05.54.25
Database drivers available: sqlite3, imaplib, pyodbc, pymysql, pg8000
please visit:
         http://127.0.0.1:8000/
starting browser...
*** DO_CLEAR failed Non-numeric breakpoint number (all})


David Manns

unread,
Mar 18, 2018, 11:27:03 AM3/18/18
to web2py-users
Once a single breakpoint has been triggered, no combination of clearing breakpoints, setting new breakpoints work. The new breakpoints show on the breakpoints as being set, but they do not trigger.

This is definitely a bug, don't understand why this was marked as 'no action needed'

David
Reply all
Reply to author
Forward
0 new messages