[erlang-patches] Additions to the debugger to support the erlide debugger

Vlad Dumitrescu vladdu55@REDACTED
Wed Feb 5 16:14:06 CET 2014


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



More information about the erlang-patches mailing list