diff options
author | Björn Gustavsson <[email protected]> | 2011-03-31 08:01:38 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-08-16 08:58:47 +0200 |
commit | 059dab74c2930eb5627737c336c428ca30f290c5 (patch) | |
tree | ee74e2ef6f5109bd8d6b78cbf5e97c0ed795721f /erl-build-tool-vars.sh | |
parent | e0fe23461cc94a80e02a9542ab2182f62badd5de (diff) | |
download | otp-059dab74c2930eb5627737c336c428ca30f290c5.tar.gz otp-059dab74c2930eb5627737c336c428ca30f290c5.tar.bz2 otp-059dab74c2930eb5627737c336c428ca30f290c5.zip |
Make stacktraces in exceptions more similar to BEAM's stacktraces
When an exception was generated from interpreted code, the stacktrace
would not look exactly like BEAM's stacktraces. There would generally
be fewer entries (never more than three), and the top entry would
always have MFAs with the actual arguments (rather than the arity).
There are two good reasons for making the stacktraces as similar
as possible:
* Code that examines a stacktrace can behave differently in the
interpreted and BEAM code if the stacktraces are different.
* It is easier to test the debugger if test suites for other
applications (such as the emulator) can be run with the debugger
with as few modifications as possible.
Diffstat (limited to 'erl-build-tool-vars.sh')
0 files changed, 0 insertions, 0 deletions