Additions to the debugger to support the erlide debugger

Vlad Dumitrescu <[email protected]> Wed, 5 Feb 2014 16:14:06 +0100
Newsgroups gmane.comp.lang.erlang.patches
Message-ID <CAA-EFXsjEESbyjmj=yVcBrU3g1U0YXV7_pPYJjK=_x8yCQT4CQ@mail.gmail.com>
There are mostly new functions and messages that don't affect the
regular debugger. The only exception is in dbg_ieval, where the exit_at
message has more detailed information (the pid of the process, a
stacktrace and the current bindings).

The new API is about

getting the current stacktrace
setting the value of a variable
storing stacktrace and bindings for exited processes, it is useful for
post-mortem analysis

If these changes are accepted, erlide can stop using a copy of the
debugger code with patches. Even the regular debugger might like to
use these.

I don't know what level of testing would this need. I'm sending
without any yet, in case the additions are not interesting at all.

Feedback is appreciated.

git fetch git://github.com/vladdu/otp.git debugger_update

https://github.com/vladdu/otp/compare/erlang:master...debugger_update
https://github.com/vladdu/otp/compare/erlang:master...debugger_update.patch

regards,
Vlad
_______________________________________________
erlang-patches mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-patches