aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger/src/dbg_wx_mon.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-02-05 12:36:41 +0100
committerHans Bolinder <[email protected]>2018-02-05 14:45:37 +0100
commit9cadd05e3ef7ee93d409b7e4ddb7c0b83b84bce0 (patch)
tree0503e6455a372fd648712f8cf5f266f52a5c6b14 /lib/debugger/src/dbg_wx_mon.erl
parentdc4b576b334cfff188b15740a38e7b2b1d5ab004 (diff)
downloadotp-9cadd05e3ef7ee93d409b7e4ddb7c0b83b84bce0.tar.gz
otp-9cadd05e3ef7ee93d409b7e4ddb7c0b83b84bce0.tar.bz2
otp-9cadd05e3ef7ee93d409b7e4ddb7c0b83b84bce0.zip
debugger: Do not call erlang:get_stacktrace()
Diffstat (limited to 'lib/debugger/src/dbg_wx_mon.erl')
-rw-r--r--lib/debugger/src/dbg_wx_mon.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/debugger/src/dbg_wx_mon.erl b/lib/debugger/src/dbg_wx_mon.erl
index a32a6894b8..00aee62a87 100644
--- a/lib/debugger/src/dbg_wx_mon.erl
+++ b/lib/debugger/src/dbg_wx_mon.erl
@@ -119,9 +119,9 @@ init(CallingPid, Mode, SFile) ->
init2(CallingPid, Mode, SFile, GS)
catch
exit:stop -> stop;
- Error:Reason ->
+ Error:Reason:Stacktrace ->
io:format("~p: Crashed {~p,~p} in~n ~p",
- [?MODULE, Error, Reason, erlang:get_stacktrace()])
+ [?MODULE, Error, Reason, Stacktrace])
end
end.