pdb name truncation

Bruce Edge bedge at troikanetworks.com
Fri Jun 29 15:40:57 EDT 2001


In article <etdhewzdrkg.fsf at lola-granola.mit.edu>, "Alex"
<new_name at mit.edu> wrote:

>> Is there some setting to get it to expand the ...  It's annoying to
>> have to restart not under pdb to see what error actually was.
> 
> I've had problems with this, too, and your post induced me to finally
> fix it instead of work around it. :) (though usually you can get the
> complete error by re-executing the line that caused the error from the
> pdb prompt, even that's a bit of a pain.)
> 
> Stick this in a file my_pdb.py in a directory that'll be in your
> sys.path, and do
> 
> "from my_pdb import set_trace"
> 
> or whatever it is you usually use from there.
> 

[snip fix]

Hey, thanks a bunch!! I'll try it.



More information about the Python-list mailing list