4.5

Table Of Contents
ThinApp User’s Guide
120 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.
ThesectionstartswithaNew Modules detected in memoryentryfollowedbytheSYSTEM_LOADED
moduleslist.ThesectionendswithaModules Loadedentry.
Summary
Thissectionincludesmodulesthatthecapturedapplicationloads,potentialerrors,andaprofileofthe
150slowestcalls.
ThesectionstartswiththeModules Loadedmessage.
General API Log Message Format
ThefollowingmessageshowsaformatexampleforAPIcalls.
000257 0a88 mydll.dll :4ad0576d->kernel32.dll:7c81b1f0 SetConsoleMode (IN HANDLE
hConsoleHandle=7h, IN DWORD dwMode=3h)
000258 0a88 mydll.dll :4ad0576d<-kernel32.dll:7c81b1f0 SetConsoleMode ->BOOL=1h ()
Thisexampleincludesthefollowingentries:
000257indicatesthelogentrynumber.Eachlogentryhasauniquenumber.
0a88indicatesthecurrentrunningthreadID.Iftheapplicationhasonethread,thisnumberdoesnot
change.Iftwoormorethreadsrecorddatatothelogfile,youmightusethethreadIDtofollow
threadspecificsequentialactionsbecauseThinApprecordslogentriesintheorderinwhich
theyoccur.
mydll.dllindicatestheDLLthatmakestheAPIcall.
4ad0576dindicatesthereturnaddressfortheAPIcallthatmydll.dllmakes.Intypicalcircumstances,
thereturnaddressistheaddressinthecodewherethecalloriginates.
-> indicatestheprocessofenteringthecall.Forthecallentrylogelement,ThinAppdisplaystheinput
parameters.Theseparametersareinandin/outparameters.