diff options
author | Dan Gudmundsson <[email protected]> | 2013-10-11 16:56:24 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2014-01-27 15:52:52 +0100 |
commit | 549205db3dee21e83a64a01f03b1e8ed2225b276 (patch) | |
tree | 4cd5511e19ef0eb5277350800a4e48d18cd88786 /lib/observer/src/cdv_proc_wx.erl | |
parent | e2d565532d25024c1c0552d8eaaddf90eed88629 (diff) | |
download | otp-549205db3dee21e83a64a01f03b1e8ed2225b276.tar.gz otp-549205db3dee21e83a64a01f03b1e8ed2225b276.tar.bz2 otp-549205db3dee21e83a64a01f03b1e8ed2225b276.zip |
observer: Consolidate the view of process information
Add clickable links to processes in process info
Use html pages (contains clickable processes) to view messages,
dictionary and other information.
Diffstat (limited to 'lib/observer/src/cdv_proc_wx.erl')
-rw-r--r-- | lib/observer/src/cdv_proc_wx.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/observer/src/cdv_proc_wx.erl b/lib/observer/src/cdv_proc_wx.erl index a0f42b5e6b..1320afce28 100644 --- a/lib/observer/src/cdv_proc_wx.erl +++ b/lib/observer/src/cdv_proc_wx.erl @@ -99,6 +99,7 @@ init_stack_page(Parent, Pid, _Info) -> init_memory_page(Parent, Pid, "StackDump"). init_memory_page(Parent, Pid, What) -> + Win = observer_lib:html_window(Parent), Html = case crashdump_viewer:expand_memory(Pid,What) of {ok,Memory} -> @@ -106,7 +107,8 @@ init_memory_page(Parent, Pid, What) -> {error,Reason} -> crashdump_viewer_html:warning(Reason) end, - observer_lib:html_window(Parent,Html). + wxHtmlWindow:setPage(Win,Html), + Win. init_ets_page(Parent, Pid, _Info) -> cdv_virtual_list:start_link(Parent, cdv_ets_wx, Pid). |