Using Process Explorer as the debugging tool: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
No edit summary
(prepare for translation)
Line 1: Line 1:
{{PageLang|en}}{{Languages/Process Explorer}}
<languages/>{{PageLang|en}}{{Languages/Process Explorer}}
<translate>
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.


All you need to do is the following:
All you need to do is the following:
* Download [https://technet.microsoft.com/en-us/sysinternals/bb896653 Process Explorer] from Microsoft website. Run <tt>procexp.exe</tt> and accept license agreement by clicking ''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 ''Agree'' button.
* Download [[Download|Miranda NG debug symbols]] '''corresponding 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]] '''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).
* 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).
* 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 <tt>miranda32[64].exe!wWinMain</tt> (Screen 3).
* On ''Threads'' tab in the window that will pop up select the main thread. Under Windows 7 its name looks like <tvar|thread_name><tt>miranda32[64].exe!wWinMain</tt></> (Screen 3).
* Clicking ''Stack'' button will open the window containing the information which you may copy and attach to your bug report.
* Clicking ''Stack'' button will open the window containing the information which you may copy and attach to your bug report.
</translate>


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


 
<translate>
== See also ==
== See also ==
* [[Reporting bugs]]
</translate>
* [[Special:MyLanguage/Reporting bugs]]


[[Category:Help]]
[[Category:Help]]

Revision as of 20:48, 5 April 2018

Other languages:

Template:Languages/Process Explorer

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