Download ThinApp-Benutzerhandbuch

Transcript
ThinApp-Benutzerhandbuch
.
... 438 total calls
7847975891 total cycles (2809,64 ms): |sprof| ts_load_internal_module
764794646 cycles (273.80 ms) on log entry 21753
426837866 cycles (152.81 ms) on log entry 191955
408570540 cycles (146.27 ms) on log entry 193969
.
.
... 94 total calls
4451728477 total cycles (1593,76 ms): |sprof| ts_lookup_imports
544327945 cycles (194.87 ms) on log entry 21758
385149968 cycles (137.89 ms) on log entry 193970
187246661 cycles (67.04 ms) on log entry 190210
.
.
... 34 total calls
1099873523 total cycles (393,76 ms): |sprof| new_thread_start
561664565 cycles (201.08 ms) on log entry 151922
531551734 cycles (190.30 ms) on log entry 152733
1619002 cycles (0.58 ms) on log entry 72875
Potenzielle Fehler
Der Abschnitt Erkannte potenzielle Fehler (Potential Errors Detected) zeigt die Protokolleinträge
an, deren Zeichenfolgen Probleme mit drei Sternen (***) aufweisen. Informationen zur Interpretation dieses
Abschnitts erhalten Sie unter „Ermitteln von Fehlern“ auf Seite 129.
----Potential Errors Detected --006425 0000075c
LoadLibraryExW 'C:\Programme\Adobe\Reader
8.0\Reader\Microsoft.Windows.Common-Controls.DLL' flags=2 -> 0 (failed ***)
006427 0000075c
LoadLibraryExW 'C:\Programe\Adobe\Reader
8.0\Reader\Microsoft.Windows.Common-Controls\Microsoft.Windows.Common-Controls.DLL' flags=2
-> 0 (failed ***)
006428 0000089c nview.dll :1005b94b<-kernel32.dll:7c80ae4b *** LoadLibraryW
->HMODULE=7c800000h () *** GetLastError() returns 2 [0]: The system cannot find the file
specified.
007062 0000075c
LoadLibraryExW 'C:\Programme\Adobe\Reader
8.0\Reader\en-US\Microsoft.Windows.Common-Controls.DLL' flags=2 -> 0 (failed ***)
010649 0000075c
LoadLibraryExW 'C:\Programme\Adobe\Reader
8.0\Reader\en-US\Microsoft.Windows.Common-Controls\Microsoft.Windows.Common-Controls.DLL'
flags=2 -> 0 (failed ***)
019127 0000075c MSVCR80.dll :781348cc<-msvcrt.dll :77c10396 *** GetEnvironmentVariableA
->DWORD=0h (OUT LPSTR lpBuffer=*0h <bad ptr>) *** GetLastError() returns 203 [0]: The system
could not find the environment option that was entered.
019133 0000075c MSVCR80.dll :78133003<-nview.dll :1000058c *** GetProcAddress
->FARPROC=*0h () *** GetLastError() returns 127 [203]: The specified procedure could not be
found.
019435 0000075c MSVCR80.dll :78136e08<-dbghelp.dll :59a60360 *** Getfile type
->DWORD=0h ()*** GetLastError() returns 6 [0]: The handle is invalid.
019500 0000075c MSVCR80.dll :78134481<-nview.dll :1000058c *** GetProcAddress
->FARPROC=*0h () *** GetLastError() returns 127 [0]: The specified procedure could not be found.
019530 0000075c MSVCR80.dll :78131dcd<-dbghelp.dll :59a603a1 *** GetModuleHandleA
->HMODULE=0h () *** GetLastError() returns 126 [0]: The specified module could not be found.
Beispiel für die Problembehandlung beim Dienstprogramm cmd.exe
Im Problembehebungsbeispiel verpackt ThinApp das Dienstprogramm cmd.exe bei aktivierter
Protokollierung. Dieses Beispiel zeigt, wie Sie durch Ausführen eines ungültigen Befehls das fehlerhafte
Verhalten einer Anwendung simulieren können. Wenn das Dienstprogramm cmd.exe dazu aufgefordert
wird, den Befehl foobar auszuführen, generiert das Dienstprogramm die Meldung foobar is not
recognized as an internal or external command (foobar wird nicht als interner oder
externer Befehl erkannt). Sie können die Trace-Datei und den Abschnitt Erkannte potenzielle
Fehler (Potential Errors Detected) überprüfen, um die API-Funktionen zu suchen, die den Code
GetLastError veränderten.
Das Beispiel zeigt die Pfade C:\test\cmd_test\bin\foobar.*, C:\WINDOWS\system32\foobar.* und
C:\WINDOWS\foobar als Speicherorte, an denen das Dienstprogramm cmd.exe nach dem Befehl foobar
sucht.
132
VMware, Inc.