[Zope-dev] Re: PDBDebugMode 0.1 Release

Ross Patterson me at rpatterson.net
Thu Mar 16 21:41:48 EST 2006


>> 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


More information about the Zope-Dev mailing list