Re: Debuggers



On 19:21, venerdì 13 giugno 2008 R. Bernstein wrote:

I'm not completely sure what you mean, but I gather that in
post-mortem debugging you'd like to inspect local variables defined at the
place of error.

Yes, exactly. This can be seen with pdb, but not pydb.
If I'm testing a piece of code and it breaks, then I'd like to see the
variables and find which of them doesn't go as expected.

Python as a language is a little different than say Ruby. In Python
the handler for the exception is called *after* the stack is unwound

I'm not doing comparison with other languages. I'm simply curious to know why
pydb don't keep variables like pdb.

Final, I agreed the idea to restart the debugger when an exception is trow.
It could be feasible to let reload the file and restart. Some time I can
re-run the program , as the error is fixed, but sometime pdb doesn't
recognize the corrections applied.
I mean that after a post-mortem event, the debugger should forget all
variables and reload the program, which meanwhile could be debugged.

--
Mailsweeper Home : http://it.geocities.com/call_me_not_now/index.html
.



Relevant Pages

  • Extending vsjitdebugger
    ... either WinDbg as a debugger. ... I would like to extend vsjitdebugger (the Visual Studio ... post-mortem debugging "debugger chooser") so that WiDbg appears on the ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Child display driver ... adding PnP crashes!
    ... Try the `!sym noisy' command and then the `.reload nt' command and posting ... but this is what the debugger shows and then there is ... copy the SYS/DBG/PDB files of your driver there. ... the build target path itself - you will not be able to rebuild with the ...
    (microsoft.public.development.device.drivers)
  • RE: pdb files for assemblies in GAC?
    ... the .pdb file to the same file folder in the gac. ... debugger, I saw that it loaded the symbols from the gac location. ... put the symbol files there. ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.framework)
  • RE: pdb files for assemblies in GAC?
    ... The debugger needs a way to find the pdb ... If all the pdb files are placed in the installation ... assume the pdb files are in the same folder as the assembly. ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.framework)
  • Re: pdb bug and questions
    ... Subject: pdb bug and questions ... I'm trying to embed a debugger into an editor. ... (pdb, pydb, rpdb2, smart debugger, extended debugger? ... This looks like a bug to me. ...
    (comp.lang.python)

Loading