Using Process Explorer as the debugging tool/ru: Difference between revisions

From Miranda NG
Using Process Explorer as the debugging tool/ru
Jump to navigation Jump to search
(copy for import purpose)
 
(Updating to match new version of source page)
Line 1: Line 1:
Если Miranda NG подвисает или без причины начинает потреблять CPU, для выяснения причин можно использовать Process Explorer.
<languages/>{{PageLang|en}}{{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:
* Скачать [https://technet.microsoft.com/ru-RU/sysinternals/bb896653 Process Explorer] с сайта Microsoft. Запустить <tt>procexp.exe</tt>, согласиться с лицензионным соглашением (кнопка {{Button|Agree}} в появившемся окне).
* 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.
* Скачать [[Скачать|отладочные символы]] Miranda NG, '''соответствующие текущей версии''' вашей программы. Разархивировать символы в удобное место.
* Download [[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).
* Указать в настойках Process Explorer путь к символам ({{Menu|Options|Configure Symbols}}) (рис. 1).
* Point Process Explorer to the debug symbols using ''Options Configure Symbols'' (Screen 1).
* Выбрать в Process Explorer процесс Миранды, кликнуть правой кнопкой мыши и выбрать ''Properties…'' (рис. 2).
* In Process Explorer pick up Miranda process, right-click it and select ''Properties…'' (Screen 2).
* На вкладке ''«Threads»'' в открывшемся окне выбрать поток (thread), в названии которого содержится <tt>miranda32[64].exe!wWinMain</tt> (для Windows 7) (рис. 3).
* 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).
* Далее нажать на кнопку {{Button|Stack}}, во всплывающем окне будет показана информация, которую нужно сообщить разработчикам.
* Clicking ''Stack'' button will open the window containing the information which you may copy and attach to your bug report.


Рис. 1: Указываем путь к символам
<gallery widths="200px">
Рис. 2: Выбираем Properties процесса Миранды
File:Process Explorer 01.png|Screen 1: Point Process Explorer to debug symbols
Рис. 3: Выбираем главный поток, жмём Stack
File:Process Explorer 02.png|Screen 2: Select ''Properties…'' of Miranda process
File:Process Explorer 03.png|Screen 3: Select main thread and click ''Stack''
</gallery>


== См. также ==
== See also ==
* [[Special:MyLanguage/Reporting bugs]]
 
[[Category:Help]]

Revision as of 21:17, 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