aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger/src/dbg_wx_trace_win.erl
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2013-02-18 16:43:20 +0100
committerPatrik Nyblom <[email protected]>2013-02-18 16:43:20 +0100
commita33f631898be1fe64ab5d4c8fcb9fde2afda25df (patch)
tree4fc5c23b40e2bd956d6b8facdc3920c8ddd3f933 /lib/debugger/src/dbg_wx_trace_win.erl
parent5fcb4b742820ab66e646f8561ed9f32b253bca9a (diff)
downloadotp-a33f631898be1fe64ab5d4c8fcb9fde2afda25df.tar.gz
otp-a33f631898be1fe64ab5d4c8fcb9fde2afda25df.tar.bz2
otp-a33f631898be1fe64ab5d4c8fcb9fde2afda25df.zip
Make wx debugger use +pc flag when applicable
Diffstat (limited to 'lib/debugger/src/dbg_wx_trace_win.erl')
-rw-r--r--lib/debugger/src/dbg_wx_trace_win.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/debugger/src/dbg_wx_trace_win.erl b/lib/debugger/src/dbg_wx_trace_win.erl
index 8b206ccd78..e54ce3913f 100644
--- a/lib/debugger/src/dbg_wx_trace_win.erl
+++ b/lib/debugger/src/dbg_wx_trace_win.erl
@@ -853,7 +853,7 @@ handle_event(#wx{id=?EVAL_ENTRY, event=#wxCommand{type=command_text_enter}},
handle_event(#wx{event=#wxList{type=command_list_item_selected, itemIndex=Row}},Wi) ->
Bs = get(bindings),
{Var,Val} = lists:nth(Row+1, Bs),
- Str = io_lib:format("< ~s = ~p~n", [Var, Val]),
+ Str = io_lib:format("< ~s = ~lp~n", [Var, Val]),
eval_output(Wi, Str, bold),
ignore;
handle_event(#wx{event=#wxList{type=command_list_item_activated, itemIndex=Row}},_Wi) ->