aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger/src
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2015-04-28 13:30:27 +0800
committerZandra Hird <[email protected]>2015-05-26 13:30:24 +0200
commit288798c8f712062315486fe1a24eb567d021b0ca (patch)
tree3467d4f91de58a852389c10542876f244ff0754c /lib/debugger/src
parentddfbbcbbd489913120a55b2a054b046c68b40a8a (diff)
downloadotp-288798c8f712062315486fe1a24eb567d021b0ca.tar.gz
otp-288798c8f712062315486fe1a24eb567d021b0ca.tar.bz2
otp-288798c8f712062315486fe1a24eb567d021b0ca.zip
Fix argument to gui_enable_updown in dbg_wx_trace:init/6
Fix comment on new_process message in int:subscribe/0
Diffstat (limited to 'lib/debugger/src')
-rw-r--r--lib/debugger/src/dbg_wx_trace.erl2
-rw-r--r--lib/debugger/src/int.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/debugger/src/dbg_wx_trace.erl b/lib/debugger/src/dbg_wx_trace.erl
index 4438466bb0..ffdfc46496 100644
--- a/lib/debugger/src/dbg_wx_trace.erl
+++ b/lib/debugger/src/dbg_wx_trace.erl
@@ -140,7 +140,7 @@ init(Pid, Parent, Meta, TraceWin, BackTrace, Strings) ->
int:meta(Meta, trace, State3#state.trace),
- gui_enable_updown(stack_trace, {1,1}),
+ gui_enable_updown(State3#state.stack_trace, {1,1}),
gui_enable_btrace(false, false),
dbg_wx_trace_win:display(Win,idle),
diff --git a/lib/debugger/src/int.erl b/lib/debugger/src/int.erl
index 908390ce50..375959c803 100644
--- a/lib/debugger/src/int.erl
+++ b/lib/debugger/src/int.erl
@@ -365,7 +365,7 @@ stop() ->
%% function will receive the following messages:
%% {int, {interpret, Mod}}
%% {int, {no_interpret, Mod}}
-%% {int, {new_process, Pid, Function, Status, Info}}
+%% {int, {new_process, {Pid, Function, Status, Info}}}
%% {int, {new_status, Pid, Status, Info}}
%% {int, {new_break, {Point, Options}}}
%% {int, {delete_break, Point}}