aboutsummaryrefslogtreecommitdiffstats
path: root/EPLICENCE
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-03-31 07:31:14 +0200
committerBjörn Gustavsson <[email protected]>2011-08-16 08:58:47 +0200
commite0fe23461cc94a80e02a9542ab2182f62badd5de (patch)
tree2ec0499d0b23c64d88880eb1c8e8c8830dfce8ea /EPLICENCE
parent3ccc4730e54f0f9e86bf96360b7600ab8c9e1d47 (diff)
downloadotp-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 'EPLICENCE')
0 files changed, 0 insertions, 0 deletions