aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger/src
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2015-08-26 12:58:55 +0200
committerDan Gudmundsson <[email protected]>2015-08-26 12:58:55 +0200
commitc830c78c88684f0f88f2c50941ed73e7829abba8 (patch)
treee9790a50c578fa0b54fdf3a8ba1b7868584023b2 /lib/debugger/src
parentab9015609f4cf28ab4ce3808fe85c90f1ba4af21 (diff)
parentb17eeb8319af3b3a994ccd3fcf1170ae49291e2c (diff)
downloadotp-c830c78c88684f0f88f2c50941ed73e7829abba8.tar.gz
otp-c830c78c88684f0f88f2c50941ed73e7829abba8.tar.bz2
otp-c830c78c88684f0f88f2c50941ed73e7829abba8.zip
Merge branch 'dgud/debugger/fix-case-clause/OTP-12911' into maint
* dgud/debugger/fix-case-clause/OTP-12911: debugger: Fix broken debugger:quick/3 start
Diffstat (limited to 'lib/debugger/src')
-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 b246c71284..5fd1519ba0 100644
--- a/lib/debugger/src/dbg_wx_trace.erl
+++ b/lib/debugger/src/dbg_wx_trace.erl
@@ -73,6 +73,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