5.0

Table Of Contents
VMware, Inc. 87
Chapter 9 Monitoring and Troubleshooting ThinApp
3 (Optional)Capturelogsforaspecificdurationtotroubleshootanexactissue.
a SelecttheSuspendcheckbox.
bStartthecapturedapplicationandletitruntothepointwheretheerroroccursortheperformance
problemstarts.
cInLogMonitor,deselecttheSuspendcheckboxtoresumetheloggingprocess.
Youcan
checktheapplicationbehaviortoisolatetheissue.
d SelecttheSuspendcheckboxagaintostoptheloggingprocess.
4 (Optional)SelectafileinthetracefilelisttodeleteandclickDeleteFile.
5 (Optional)ClickKillApptostoparunningprocess.
6 (Optional)ClicktheCompresscheckboxtodecreasethe
sizeofatracefile.
Thisoperationslowstheperformanceoftheapplication.
7 (Optional)Generateatracefilereport.
a Selectatracefileinthefilelist,typeatracefilenameorusethedefaultname,orclickBrowsetoselect
atracefileonyoursystem.
b (Optional)Typeorchangethename
oftheoutputreport.
c (Optional)CleartheFullreportcheckboxtogetareportcontainingonlyvirtualizedfunctioncalls.
dClickGeneratetexttracereporttocreateareport.
YoucanviewthefilewithatexteditorthatsupportsUNIXstylelinebreaks.
Locating Errors
ThinApploggingprovidesalargeamountofinformation.Thefollowingtipsmighthelpadvancedusers
investigateerrors:
ReviewthePotential Errors Detectedsectionofthe.txttracefile.
Entriesmightnotindicateerrors.ThinApplistseachWin32APIcallwheretheWindowserrorcode
changed.
Reviewexceptionsthattheapplicationsgenerate.
Exceptionscanindicateerrors.ExceptiontypesincludeC++and.NET.Thetracefilerecordstheexception
typeandDLLthatgeneratestheexception.Iftheapplication,suchasa.NETorJavaapplication,creates
anexceptionfromselfgeneratingcode,thetracefileindicatesan
unknownmodule.
Thefollowingexampleisa.traceentryforanexception.
*** Exception CXX_EXCEPTION(e06d7363) flags=1 num_args=4
caller_addr=unknown_module:0x000007F8162389CC
Ifyoufindanexception,scantheearlierpartofthetracefileforthesourceoftheexception.Ignorethe
floatingpointexceptionsthatVirtualBasic6applicationsgenerateduringtypicaluse.
Reviewchildprocesses.
LogMonitorproducesone.tracefileforeachprocess.Ifanapplicationstartsseveralchildprocesses,
determinewhichprocessiscausingtheproblem.Sometimes,suchasincircumstancesinvolving
outofprocessCOM,aparentapplicationusesCOMtostartachildprocess,runsafunctionremotely,and
continuestorunfunctions.Youcanusetherecordedtimestamptocorrelatelogentriesacrossmultiple
processes.
Whenyourunapplicationsfromanetworksharethatgeneratestwoprocesses,ignorethefirstprocess.
ThinAppaddressestheslowperformanceofSymantecantivirusapplicationsbyrestartingprocesses.