diff options
author | Hans Bolinder <[email protected]> | 2017-06-16 16:26:06 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-09-05 11:02:25 +0200 |
commit | 7eaaf5dd6140eda8b3892ef23e1fcf70be90d7c4 (patch) | |
tree | 6d4533546f16dca9ff99d9b125e65fe3659db6cc /lib/debugger/src/i.erl | |
parent | 60c836afbb7c993f3bd635e12c80f018aa017e3b (diff) | |
download | otp-7eaaf5dd6140eda8b3892ef23e1fcf70be90d7c4.tar.gz otp-7eaaf5dd6140eda8b3892ef23e1fcf70be90d7c4.tar.bz2 otp-7eaaf5dd6140eda8b3892ef23e1fcf70be90d7c4.zip |
debugger: Improve handling of Unicode
Diffstat (limited to 'lib/debugger/src/i.erl')
-rw-r--r-- | lib/debugger/src/i.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/debugger/src/i.erl b/lib/debugger/src/i.erl index 2da3e77618..62ce8d0e20 100644 --- a/lib/debugger/src/i.erl +++ b/lib/debugger/src/i.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1998-2016. All Rights Reserved. +%% Copyright Ericsson AB 1998-2017. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -307,13 +307,13 @@ ip() -> ip([{Pid,{M,F,A},Status,{}}|Stats]) -> hformat(io_lib:format("~w",[Pid]), - io_lib:format("~p:~p/~p",[M,F,length(A)]), + io_lib:format("~w:~tw/~w",[M,F,length(A)]), io_lib:format("~w",[Status]), ""), ip(Stats); ip([{Pid,{M,F,A},Status,Info}|Stats]) -> hformat(io_lib:format("~w",[Pid]), - io_lib:format("~p:~p/~p",[M,F,length(A)]), + io_lib:format("~w:~tw/~w",[M,F,length(A)]), io_lib:format("~w",[Status]), io_lib:format("~w",[Info])), ip(Stats); @@ -321,7 +321,7 @@ ip([]) -> ok. hformat(A1, A2, A3, A4) -> - format("~-12s ~-21s ~-9s ~-21s~n", [A1,A2,A3,A4]). + format("~-12s ~-21ts ~-9s ~-21s~n", [A1,A2,A3,A4]). %% ------------------------------------------- |