MySQL 9.1.0
Source Code Documentation
AutoDebugTrace Class Reference

A RAII helper to do DBUG_ENTER / DBUG_RETURN for you automatically. More...

#include <my_dbug.h>

Public Member Functions

 AutoDebugTrace (const char *function, const char *filename, int line)
 
 ~AutoDebugTrace ()
 

Private Attributes

_db_stack_frame_ m_stack_frame
 

Detailed Description

A RAII helper to do DBUG_ENTER / DBUG_RETURN for you automatically.

Use like this:

int foo() { DBUG_TRACE; return 42; }

Constructor & Destructor Documentation

◆ AutoDebugTrace()

AutoDebugTrace::AutoDebugTrace ( const char *  function,
const char *  filename,
int  line 
)
inline

◆ ~AutoDebugTrace()

AutoDebugTrace::~AutoDebugTrace ( )
inline

Member Data Documentation

◆ m_stack_frame

_db_stack_frame_ AutoDebugTrace::m_stack_frame
private

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