Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::IStackTraceService Class Referenceabstract

Interface of a function call tracing service. More...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/base/arccore/base/IStackTraceService.h>

Inheritance diagram for Arcane::IStackTraceService:
Collaboration diagram for Arcane::IStackTraceService:

Public Member Functions

virtual void build ()=0
virtual StackTrace stackTrace (int first_function=0)=0
 Character string indicating the call stack.
virtual StackTrace stackTraceFunction (int function_index)=0
 Name of a function in the call stack.

Detailed Description

Interface of a function call tracing service.

Definition at line 32 of file arccore/src/base/arccore/base/IStackTraceService.h.

Constructor & Destructor Documentation

◆ ~IStackTraceService()

virtual Arcane::IStackTraceService::~IStackTraceService ( )
inlinevirtual

Member Function Documentation

◆ stackTrace()

virtual StackTrace Arcane::IStackTraceService::stackTrace ( int first_function = 0)
pure virtual

Character string indicating the call stack.

first_function indicates the number in the stack of the first function displayed in the trace.

Implemented in Arcane::BackwardCppStackTraceService, Arcane::DbgHelpStackTraceService, and Arcane::LibUnwindStackTraceService.

Referenced by Arcane::Platform::dumpStackTrace(), and Arcane::Platform::getStackTrace().

Here is the caller graph for this function:

◆ stackTraceFunction()

virtual StackTrace Arcane::IStackTraceService::stackTraceFunction ( int function_index)
pure virtual

Name of a function in the call stack.

function_index indicates the position of the function to return in the call stack. For example, 0 indicates the current function, 1 the previous one (i.e., the one calling this method).

Implemented in Arcane::BackwardCppStackTraceService, Arcane::DbgHelpStackTraceService, and Arcane::LibUnwindStackTraceService.


The documentation for this class was generated from the following file: