zorba::DebuggerEventHandler

#include <zorba/debugger_event_handler.h>

Public Functions

void

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

Method which gets called if an error occurs.

void

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

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

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.

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.