aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2015-09-07 17:49:18 +0200
committerErlang/OTP <[email protected]>2015-09-07 17:49:18 +0200
commita5d9e2b280ed25194d3391d6de975d328bf65a9c (patch)
tree38e8bd3ef3e4bcf29e29d678605e3827f84ee75e
parent155c22ff3ce3f667d4a984bd6648f029e0998381 (diff)
parentb17eeb8319af3b3a994ccd3fcf1170ae49291e2c (diff)
downloadotp-a5d9e2b280ed25194d3391d6de975d328bf65a9c.tar.gz
otp-a5d9e2b280ed25194d3391d6de975d328bf65a9c.tar.bz2
otp-a5d9e2b280ed25194d3391d6de975d328bf65a9c.zip
Merge branch 'dgud/debugger/fix-case-clause/OTP-12911' into maint-17
* dgud/debugger/fix-case-clause/OTP-12911: debugger: Fix broken debugger:quick/3 start
-rw-r--r--lib/debugger/src/dbg_wx_trace.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/debugger/src/dbg_wx_trace.erl b/lib/debugger/src/dbg_wx_trace.erl
index 4438466bb0..879887879a 100644
--- a/lib/debugger/src/dbg_wx_trace.erl
+++ b/lib/debugger/src/dbg_wx_trace.erl
@@ -72,6 +72,10 @@ start(Pid, TraceWin, BackTrace) ->
start(Pid, TraceWin, BackTrace, Strings) ->
case whereis(dbg_wx_mon) of
+ undefined ->
+ Parent = wx:new(),
+ Env = wx:get_env(),
+ start(Pid, Env, Parent, TraceWin, BackTrace, Strings);
Monitor when is_pid(Monitor) ->
Monitor ! {?MODULE, self(), get_env},
receive