zorba::DefaultDebuggerEventHandler

#include <zorba/debugger_default_event_handler.h>

Inherited from: zorba::DebuggerEventHandler

Public Functions

void

error(unsigned int errcode, const std::string &msg)=0

Method which gets called if an error occurs.

void

evaluated(String &anExpr, std::list< std::pair< String, String > > &aValuesAndTypes)

void

evaluated(String &anExpr, String &anError)

void

idle()

void

parseMessage(const std::string &aMessage)=0

This method gets called whenever the debugger client gets a message from the debug engine.

void

resumed()

void

started()

void

suspended(QueryLocation &aLocation, SuspendedBy aCause)

void

terminated()

~DefaultDebuggerEventHandler()

Public Functions

error

void error(unsigned int errcode, const std::string &msg)=0

Method which gets called if an error occurs.

This method gets called if an error occurs. This can be either an error in the client or in the parser.

Parameters

errcode The error code.
msg A UI usable message.

evaluated

void evaluated(String &anExpr, std::list< std::pair< String, String > > &aValuesAndTypes)

evaluated

void evaluated(String &anExpr, String &anError)

idle

void idle()

parseMessage

void parseMessage(const std::string &aMessage)=0

This method gets called whenever the debugger client gets a message from the debug engine.

When the client gets a message from the debug engine, it reads the message to a string and calls this method. The message is an XML document - so the implementation has to parse this node.

Parameters

aMessage The message recieved from the debug engine.

resumed

void resumed()

started

void started()

suspended

void suspended(QueryLocation &aLocation, SuspendedBy aCause)

terminated

void terminated()

~DefaultDebuggerEventHandler

 ~DefaultDebuggerEventHandler()