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

From Miranda NG
Using Process Explorer as the debugging tool/pl
Jump to navigation Jump to search
(copy for import purpose)
 
(Updating to match new version of source page)
Line 1: Line 1:
Jeżeli Miranda NG zawiesza się, czy zjada CPU bez powodu, możesz doszukać się przyczyny przy użyciu programu 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.


Wystarczy, że postąpisz następująco:
All you need to do is the following:
* Pobierz [https://technet.microsoft.com/pl-pl/sysinternals/bb896653 Process Explorer] ze strony Microsoft'u. Uruchom <tt>procexp.exe</tt> i zaakceptuj licencję przyciskiem ''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.
* Pobierz [[Pobierz#Główne pliki Mirandy|symbole debugowania]] '''właściwe dla Twojej wersji Mirandy'''. Wypakuj archiwum z symbolami do jakiegoś folderu na komputerze (najlepiej do głównego folderu Mirandy).
* 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).
* Wskaż Process Explorerowi folder do którego wypakowałeś symbole, używając ''Options → Configure Symbols'' (Rys. 1).
* Point Process Explorer to the debug symbols using ''Options → Configure Symbols'' (Screen 1).
* W oknie Process Explorera wybierz proces Mirandy, kliknij go PPM i wybierz ''Properties…'' (Rys. 2).
* In Process Explorer pick up Miranda process, right-click it and select ''Properties…'' (Screen 2).
* W zakładce ''Threads'' okna które się pojawi, wybierz główny wątek programu. W Windowsem 7 jego nazwa wygląda mniej więcej <tt>miranda32[64].exe!wWinMain</tt> (Rys. 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).
* Wciskając przycisk ''Stack'' otwarte zostanie okno zawierające informacje, które możesz skopiować i dołączyć do swojego raportu o błędzie.
* Clicking ''Stack'' button will open the window containing the information which you may copy and attach to your bug report.


Rys. 1: Wskaż Process Explorerowi położenie symboli
<gallery widths="200px">
Rys. 2: Wybierz ''Properties…'' procesu Mirandy
File:Process Explorer 01.png|Screen 1: Point Process Explorer to debug symbols
Rys. 3: Wybierz główny wątek i kliknij ''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>


== Zobacz również ==
== See also ==
* [[Special:MyLanguage/Reporting bugs]]
 
[[Category:Help]]

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