Using Process Explorer as the debugging tool: Difference between revisions
Jump to navigation
Jump to search
(Process Explorer as the debugging tool [en]) |
(replace old langbar with new one) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> | |||
<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 [ | * 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 [[Download|Miranda NG debug symbols]] | * 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 ''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 ''Properties…'' (Screen 2). | * In Process Explorer pick up Miranda process, right-click it and select <tvar|properties_menu_item>''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 <tvar|threads_tab_name>''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 <tvar|stack_btn_name>''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| | File:Process Explorer 01.png|<translate><!--T:3--> Screen 1: Point Process Explorer to debug symbols</translate> | ||
File:Process Explorer 02.png| | 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| | File:Process Explorer 03.png|<translate><!--T:5--> Screen 3: Select main thread and click <tvar|stack_btn_name>''Stack''</></translate> | ||
</gallery> | </gallery> | ||
<translate> | |||
== See also == <!--T:6--> | |||
</translate> | |||
* {{Ll|Reporting bugs}} | |||
[[Category:Help{{#translation:}}|{{#getdisplaytitle:{{FULLPAGENAME}}}}]] | |||
[[Category:Help]] |
Latest revision as of 19:47, 12 June 2018
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.