Andi Vajda wrote:
> On Fri, 10 Feb 2006, Heikki Toivonen wrote:
>> If you ware wondering why, well, all mail code (including SSL) runs in
>> background that can't be debugged without these tricks, and it is likely
> 
> It sure can. Use pdb or 'print'. Neither are IDE-based debuggers, but
> saying you cannot debug threads is not true. 'print' sure isn't the most
> comfortable debugger available but 'pdb' isn't that bad. No fancy

print is not a debugger. I really meant a debugger, like, being able to
set breapoints and run the program a line at a time while inspecting
stuff in between.

> The simplest way to debug something with pdb, if you know where to put
> the breakpoint, is to add one line of code near it: 'import pdb;
> pdb.set_trace()' and a command line debugger, like gdb, appears when the

Yeah, this is the same hack that has been suggested for WingIDE, and I
am looking for something better.

It's not about command line vs GUI.

-- 
  Heikki Toivonen


Attachment: signature.asc
Description: OpenPGP digital signature

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev

Reply via email to