[issue14913] tokenize the source to manage Pdb breakpoints

2012-12-05 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14913 ___ ___

[issue14913] tokenize the source to manage Pdb breakpoints

2012-11-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: See also how this is fixed at http://code.google.com/p/pdb-clone/source/detail?r=6b342324ebdc4558b83b9391e34478c1fa0752db -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14913

[issue14913] tokenize the source to manage Pdb breakpoints

2012-10-14 Thread Xavier de Gaye
Xavier de Gaye added the comment: Attached patch pdb_lnotab.patch uses lnotabs (see Objects/lnotab_notes.txt) to find the actual breakpoint line number and parses the module source with tokenize to find the set of function and fully qualified method names in a module. The patch fixes issues

[issue14913] tokenize the source to manage Pdb breakpoints

2012-10-14 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +georg.brandl versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14913 ___

[issue14913] tokenize the source to manage Pdb breakpoints

2012-06-19 Thread Xavier de Gaye
Xavier de Gaye xdeg...@gmail.com added the comment: Uploaded pdb_default_2.patch. This new patch fixes the previous patch that fails to stop at breakpoints set in nested functions, and extends the previous patch in allowing breakpoints outside function and method definitions. When a breakpoint

[issue14913] tokenize the source to manage Pdb breakpoints

2012-05-25 Thread Xavier de Gaye
New submission from Xavier de Gaye xdeg...@gmail.com: Pdb behavior is not consistent with GNU gdb behavior when setting a breakpoint on an empty line, a comment or a multi-line statement (the breakpoint is ignored by pdb on a non-first line of a multi-line statement and rejected on empty lines