17 Mar
2006
17 Mar
'06
2:41 a.m.
You should really try using a editor/IDE that automatically shows the corresponding code along side the debugger, like Emacs' gud-mode which can be invoked with "M-x pdb". It rocks!
I do that sometimes, but I lack sufficient wizardry to make it work with through-the-web scripts :-) But then, I don't write many of those anymore.
Put this in your .emacs: (defvar gud-pdb-marker-regexp "^> \\(.*\\)(\\([0-9]+\\))\\([a-zA-Z0-9_<>]*\\|\\?\\)()\\(->[^\n]*\\)?\n") That should do it :) Ross