Using Process Explorer as the debugging tool: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(add more tvar's)
(replace old langbar with new one)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>{{PageLang|en}}{{Languages/Process Explorer}}
<languages/>
<translate>
<translate>
<!--T:1-->
If Miranda NG freezes, hangs up or consumes CPU without a reason, you may investigate the case using Process Explorer tool.
If Miranda NG freezes, hangs up or consumes CPU without a reason, you may investigate the case using Process Explorer tool.


<!--T:2-->
All you need to do is the following:
All you need to do is the following:
* Download <tvar|Process_Explorer>[https://technet.microsoft.com/en-us/sysinternals/bb896653 Process Explorer]</> from Microsoft website. Run <tvar|exe_name><tt>procexp.exe</tt></> and accept license agreement by clicking <tvar|agree_btn_name>''Agree''</> button.
* Download <tvar|Process_Explorer>[https://technet.microsoft.com/en-us/sysinternals/bb896653 Process Explorer]</> from Microsoft website. Run <tvar|exe_name><tt>procexp.exe</tt></> and accept license agreement by clicking <tvar|agree_btn_name>''Agree''</> button.
* Download [[<tvar|debug_symbols_page>Special:MyLanguage/Download#Debug_symbols</> | Miranda NG debug symbols]] '''corresponding to your current Miranda version'''. Extract the symbols to any directory on your computer (Miranda main folder will do).
* Download [[<tvar|debug_symbols_page>Special:MyLanguage/Download#Debug_symbols</> | Miranda NG debug symbols]] {{Strong|corresponding to your current Miranda version}}. Extract the symbols to any directory on your computer (Miranda main folder will do).
* Point Process Explorer to the debug symbols using <tvar|symbols_menu_item>''Options → Configure Symbols''</> (Screen 1).
* Point Process Explorer to the debug symbols using <tvar|symbols_menu_item>''Options → Configure Symbols''</> (Screen 1).
* In Process Explorer pick up Miranda process, right-click it and select <tvar|properties_menu_item>''Properties…''</> (Screen 2).
* In Process Explorer pick up Miranda process, right-click it and select <tvar|properties_menu_item>''Properties…''</> (Screen 2).
Line 13: Line 15:


<gallery widths="200px">
<gallery widths="200px">
File:Process Explorer 01.png|<translate>Screen 1: Point Process Explorer to debug symbols</translate>
File:Process Explorer 01.png|<translate><!--T:3--> Screen 1: Point Process Explorer to debug symbols</translate>
File:Process Explorer 02.png|<translate>Screen 2: Select ''Properties…'' of Miranda process</translate>
File:Process Explorer 02.png|<translate><!--T:4--> Screen 2: Select <tvar|properties_menu_item>''Properties…''</> of Miranda process</translate>
File:Process Explorer 03.png|<translate>Screen 3: Select main thread and click ''Stack''</translate>
File:Process Explorer 03.png|<translate><!--T:5--> Screen 3: Select main thread and click <tvar|stack_btn_name>''Stack''</></translate>
</gallery>
</gallery>


<translate>
<translate>
== See also ==
== See also == <!--T:6-->
</translate>
</translate>
* [[Special:MyLanguage/Reporting bugs]]
* {{Ll|Reporting bugs}}


[[Category:Help]]
[[Category:Help{{#translation:}}|{{#getdisplaytitle:{{FULLPAGENAME}}}}]]

Latest revision as of 19:47, 12 June 2018

Other languages:

If Miranda NG freezes, hangs up or consumes CPU without a reason, you may investigate the case using Process Explorer tool.

All you need to do is the following:

  • Download Process Explorer from Microsoft website. Run procexp.exe and accept license agreement by clicking Agree button.
  • Download Miranda NG debug symbols corresponding to your current Miranda version. Extract the symbols to any directory on your computer (Miranda main folder will do).
  • Point Process Explorer to the debug symbols using Options → Configure Symbols (Screen 1).
  • In Process Explorer pick up Miranda process, right-click it and select Properties… (Screen 2).
  • On Threads tab in the window that will pop up select the main thread. Under Windows 7 its name looks like miranda32[64].exe!wWinMain (Screen 3).
  • Clicking Stack button will open the window containing the information which you may copy and attach to your bug report.

See also