5.0

Table Of Contents
ThinApp User’s Guide
88 VMware, Inc.
Searchfortheerrormessagedisplayedindialogboxes.
SomeapplicationscalltheMessageBoxWin32APIfunctiontodisplayunexpectederrorsatruntime.You
cansearchatracefileforMessageBoxorthecontentsofthestringdisplayedintheerroranddetermine
whattheapplicationwasrunningjustbeforethe
dialogboxappeared.
NarrowthefocusoncallsoriginatingfromaspecificDLLandthread.
ThelogformatspecifiestheDLLandthreadthatmakesacall.Youcanoftenignorethecallsfromsystem
DLLs.
Log Format
Atracefileincludesthefollowingsections:
Systemconfiguration
Thissectionincludesinformationabouttheoperatingsystem,drives,installedsoftware,environment
variables,processlist,services,anddrivers.
TheinformationstartswithaDump started onstringandendswithaDump ended onstring.
Header
ThissectionshowscontextualinformationfortheinstanceoftheprocessthatLogMonitortracks.Some
ofthedisplayedattributesshowloggingoptions,addressrangeswhentheoperatingsystemruntimeis
loaded,andmacromappingtoactualsystempaths.
ThinAppmarksthebeginningoftheheadersectionwithsequencenumber000001.
Intypical
circumstances,ThinAppmarkstheendofthissectionwithamessageabouttheApplicationSyncutility.
Body
Thissectionincludestraceactivityastheapplicationstartsandperformsoperations.Eachlinerepresents
functioncallsthattargetexecutablefilesoroneoftheDLLsmake.
ThesectiontypicallystartswithaNew Modules detected in memoryentry,followedbythe
SYSTEM_LOADEDmoduleslist.ThesectionendswithaModules Loadedentry.
Summary
Thissectionincludesmodulesthatthecapturedapplicationloads,potentialerrors,andaprofileofthe
150slowestcalls,andaprofileofWin32APIs.
ThesectionstartswiththeModules Loadedmessage.
General API Log Message Format
ThefollowingmessageshowsaformatexampleforAPIcalls.
044803 00250128735714 0d40 0ccc mydll.dll:74b0f2fc->kernel32.dll:766533d3 GetProcAddress+
(HMODULE hModule=75e80000h, struct {LPCSTR lpProcName=*74C27BC8h->"ImmGetContext")
044808 00250128916396 0d40 0ccc mydll.dll:74b0f2fc<-kernel32.dll:766533d3 GetProcAddress+ -
>*=*7FE521F2h (HMODULE hModule=75e80000h, struct {LPCSTR lpProcName=*74C27BC8h->"ImmGetContext")
Thisexampleincludesthefollowingentries:
044803indicatesthelogentrynumber.Eachlogentryhasauniquenumber.
00250128735714indicatesatimestampwhenthelogentryiscaptured.
0d40indicatesthecurrentprocessID.
0cccindicatesthecurrentrunningthreadID.Iftheapplicationhasonethread,thisnumberdoesnot
change.Iftwoormorethreadsrecorddatatothelogfile,youmightusethethreadIDtofollow
threadspecificsequentialactionsbecauseThinApprecordslogentriesintheorderinwhich
theyoccur.
mydll.dllindicatestheDLLthatmakestheAPIcall.