diff options
author | Dan Gudmundsson <[email protected]> | 2015-08-14 08:16:13 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2015-08-14 08:16:13 +0200 |
commit | b17eeb8319af3b3a994ccd3fcf1170ae49291e2c (patch) | |
tree | 38e8bd3ef3e4bcf29e29d678605e3827f84ee75e /lib/debugger | |
parent | 155c22ff3ce3f667d4a984bd6648f029e0998381 (diff) | |
download | otp-b17eeb8319af3b3a994ccd3fcf1170ae49291e2c.tar.gz otp-b17eeb8319af3b3a994ccd3fcf1170ae49291e2c.tar.bz2 otp-b17eeb8319af3b3a994ccd3fcf1170ae49291e2c.zip |
debugger: Fix broken debugger:quick/3 start
Too much code was removed in commit 560f73141af
Diffstat (limited to 'lib/debugger')
-rw-r--r-- | lib/debugger/src/dbg_wx_trace.erl | 4 |
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 |