diff options
author | Björn Gustavsson <[email protected]> | 2011-03-31 07:31:14 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-08-16 08:58:47 +0200 |
commit | e0fe23461cc94a80e02a9542ab2182f62badd5de (patch) | |
tree | 2ec0499d0b23c64d88880eb1c8e8c8830dfce8ea /erts/configure.in | |
parent | 3ccc4730e54f0f9e86bf96360b7600ab8c9e1d47 (diff) | |
download | otp-e0fe23461cc94a80e02a9542ab2182f62badd5de.tar.gz otp-e0fe23461cc94a80e02a9542ab2182f62badd5de.tar.bz2 otp-e0fe23461cc94a80e02a9542ab2182f62badd5de.zip |
Don't build stacktrace until erlang:get_stacktrace() is called
Currently, dbg_istk:exception_stacktrace/2 does not do a very good job
imitating BEAM's stacktrace. The reason is that it need to be
relatively fast since a simulated stacktrace is constructed not only
when an exception oocurs, but also before every call to
non-interpreted code.
To prepare for a future more thorough (and slower) stacktrace
construction, refactor the building of the stacktrace so that
it only is done when erlang:get_stacktrace/0 is called.
Diffstat (limited to 'erts/configure.in')
0 files changed, 0 insertions, 0 deletions