Loading...
 

CX_SYSTEM_OBJECT::DLLOffsetsToLineNumber

CX_SYSTEM_OBJECT::DLLOffsetsToLineNumber

Attention: No longer supported as of Dll version 222083.

Description:

In case of crashes ClassiX® logs the C++ stack to the log file. On some systems it is not possible to read out the symbol files and find out the line number of the crash location with their help.

This class function can evaluate such a logfile excerpt and find out the corresponding line numbers for the offset addresses (as long as it runs on a computer that can read out the symbol files). The function splits the input string into individual lines and processes line by line. The result is again returned as a string, supplemented by the data of the individual line numbers, as far as this is possible.

Code example:
"co: 2006-03-06 15:07:31,926 FATAL cx.main - cxvosr.dll!???() +18ae05h"
SystemObject Call(DLLOffsetsToLineNumber)

// Auf dem Stack:
"co: 2006-03-06 15:07:31,926 FATAL cx.main - cxvosr!???() +18ae05h (Line 2411 +3h in e:\md\classix-main\view\cxwotree.cpp)"
Stack
Stack Position Object type Brief description
Stack(In) Top CX_SYSTEM_OBJECT SystemObject
Top 1 STRING Logfile excerpt
Stack(Out) Top STRING Extended log file extract
Function call: Call(DLLOffsetsToLineNumber)