SourceForge.net Logo
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
BaseInteractiveDebugger Class Referenceabstract

#include <InteractiveDebugger.hpp>

Inheritance diagram for BaseInteractiveDebugger:
Inheritance graph
[legend]

Classes

struct  BreakPoint
 
struct  Continue
 
struct  Quit
 
struct  Run
 

Public Member Functions

virtual ~BaseInteractiveDebugger ()
 
unsigned int setBreakPoint (const std::string &file, unsigned int line, unsigned int column, bool temporary)
 
bool disableBreakPoint (unsigned int number)
 
bool enableBreakPoint (unsigned int number)
 
void listBreakPoints () const
 
void setStep ()
 
void setNext ()
 
bool queryStarted () const
 
virtual void run ()=0
 
virtual bool changeFrame (unsigned int number)=0
 
virtual unsigned int getStackSize () const =0
 
virtual void stackTrace () const =0
 
virtual bool outputCurrentFrame (unsigned int context=0) const =0
 
virtual void outputCurrentFrameQueryPlan () const =0
 
virtual bool queryCurrentFrame (const char *queryString) const =0
 
virtual bool currentFrameLocation (std::string &file, unsigned int &line, unsigned int &column) const =0
 
virtual void setDoLazyEvaluation (bool lazy)=0
 
virtual void setDoFocusOptimizationsn (bool opt)=0
 
virtual void setDoProjection (bool opt)=0
 

Static Public Member Functions

static void outputLocation (const XMLCh *file, unsigned int line, unsigned int column, unsigned int context=0)
 
static void outputLocationFromString (const XMLCh *query, unsigned int line, unsigned int column, unsigned int context=0)
 
static std::string regexFind (const char *regex, const std::string &str, int groupNo=1)
 

Protected Member Functions

 BaseInteractiveDebugger ()
 
DebugCommandfindCommand (std::string &command) const
 
void checkBreak (bool entering)
 
void breakForError (const char *message)
 
void interrupted ()
 
void readCommand ()
 

Protected Attributes

std::vector< DebugCommand * > commands_
 
DebugCommandprevcmd_
 
bool queryStarted_
 
std::vector< BreakPointbreaks_
 
bool step_
 
unsigned int next_
 

Constructor & Destructor Documentation

◆ ~BaseInteractiveDebugger()

virtual BaseInteractiveDebugger::~BaseInteractiveDebugger ( )
virtual

◆ BaseInteractiveDebugger()

BaseInteractiveDebugger::BaseInteractiveDebugger ( )
protected

Member Function Documentation

◆ breakForError()

void BaseInteractiveDebugger::breakForError ( const char *  message)
protected

◆ changeFrame()

virtual bool BaseInteractiveDebugger::changeFrame ( unsigned int  number)
pure virtual

◆ checkBreak()

void BaseInteractiveDebugger::checkBreak ( bool  entering)
protected

◆ currentFrameLocation()

virtual bool BaseInteractiveDebugger::currentFrameLocation ( std::string &  file,
unsigned int &  line,
unsigned int &  column 
) const
pure virtual

◆ disableBreakPoint()

bool BaseInteractiveDebugger::disableBreakPoint ( unsigned int  number)

◆ enableBreakPoint()

bool BaseInteractiveDebugger::enableBreakPoint ( unsigned int  number)

◆ findCommand()

DebugCommand* BaseInteractiveDebugger::findCommand ( std::string &  command) const
protected

◆ getStackSize()

virtual unsigned int BaseInteractiveDebugger::getStackSize ( ) const
pure virtual

◆ interrupted()

void BaseInteractiveDebugger::interrupted ( )
protected

◆ listBreakPoints()

void BaseInteractiveDebugger::listBreakPoints ( ) const

◆ outputCurrentFrame()

virtual bool BaseInteractiveDebugger::outputCurrentFrame ( unsigned int  context = 0) const
pure virtual

◆ outputCurrentFrameQueryPlan()

virtual void BaseInteractiveDebugger::outputCurrentFrameQueryPlan ( ) const
pure virtual

◆ outputLocation()

static void BaseInteractiveDebugger::outputLocation ( const XMLCh *  file,
unsigned int  line,
unsigned int  column,
unsigned int  context = 0 
)
static

◆ outputLocationFromString()

static void BaseInteractiveDebugger::outputLocationFromString ( const XMLCh *  query,
unsigned int  line,
unsigned int  column,
unsigned int  context = 0 
)
static

◆ queryCurrentFrame()

virtual bool BaseInteractiveDebugger::queryCurrentFrame ( const char *  queryString) const
pure virtual

◆ queryStarted()

bool BaseInteractiveDebugger::queryStarted ( ) const
inline

◆ readCommand()

void BaseInteractiveDebugger::readCommand ( )
protected

◆ regexFind()

static std::string BaseInteractiveDebugger::regexFind ( const char *  regex,
const std::string &  str,
int  groupNo = 1 
)
static

◆ run()

virtual void BaseInteractiveDebugger::run ( )
pure virtual

◆ setBreakPoint()

unsigned int BaseInteractiveDebugger::setBreakPoint ( const std::string &  file,
unsigned int  line,
unsigned int  column,
bool  temporary 
)

◆ setDoFocusOptimizationsn()

virtual void BaseInteractiveDebugger::setDoFocusOptimizationsn ( bool  opt)
pure virtual

◆ setDoLazyEvaluation()

virtual void BaseInteractiveDebugger::setDoLazyEvaluation ( bool  lazy)
pure virtual

◆ setDoProjection()

virtual void BaseInteractiveDebugger::setDoProjection ( bool  opt)
pure virtual

◆ setNext()

void BaseInteractiveDebugger::setNext ( )

◆ setStep()

void BaseInteractiveDebugger::setStep ( )

◆ stackTrace()

virtual void BaseInteractiveDebugger::stackTrace ( ) const
pure virtual

Member Data Documentation

◆ breaks_

std::vector<BreakPoint> BaseInteractiveDebugger::breaks_
protected

◆ commands_

std::vector<DebugCommand*> BaseInteractiveDebugger::commands_
protected

◆ next_

unsigned int BaseInteractiveDebugger::next_
protected

◆ prevcmd_

DebugCommand* BaseInteractiveDebugger::prevcmd_
protected

◆ queryStarted_

bool BaseInteractiveDebugger::queryStarted_
protected

◆ step_

bool BaseInteractiveDebugger::step_
protected

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