Forum Discussion
mp
12 years agoOccasional Contributor
hi Jared,
you write:
By using Freeze Diagnostics, you can catch the error it posts to the log when the tested application hangs. Create a handler for the OnLogError event and process the message Freeze Diagnostics posts there (see the "About Events and Event Handling" and "OnLogError Event" help topics).
question:
is the only way to access currently posted logs by first exporting them ? i have tried over and over accessing the current log with constructs like these:
Set LogItem = Project.Logs.LogItem(0)
Set LogData = LogItem.Data(0)
Set Row = LogData.Rows(0)
...
this is your description of handling current logs:
Get current log items
since i want to parse the current log from the OnLogError routine, this seems like very much overhead, exporting the log at each error. is there no other way ?
thanks and best regards
martin
you write:
By using Freeze Diagnostics, you can catch the error it posts to the log when the tested application hangs. Create a handler for the OnLogError event and process the message Freeze Diagnostics posts there (see the "About Events and Event Handling" and "OnLogError Event" help topics).
question:
is the only way to access currently posted logs by first exporting them ? i have tried over and over accessing the current log with constructs like these:
Set LogItem = Project.Logs.LogItem(0)
Set LogData = LogItem.Data(0)
Set Row = LogData.Rows(0)
...
this is your description of handling current logs:
Get current log items
since i want to parse the current log from the OnLogError routine, this seems like very much overhead, exporting the log at each error. is there no other way ?
thanks and best regards
martin
Related Content
- 5 years agochikki78