16 #ifndef ZORBA_DEBUGGER_CLIENT_H
17 #define ZORBA_DEBUGGER_CLIENT_H
39 virtual const std::string&
40 getSignature()
const = 0;
43 getLocation()
const = 0;
48 std::ostream&
operator<< (std::ostream&
os,
const QueryLocation& aQuery);
50 std::ostream&
operator<< (std::ostream&
os,
const QueryLocation* aQuery);
71 const std::string& aHost);
106 virtual void accept() = 0;
164 virtual std::size_t status() = 0;
171 virtual std::size_t variables() = 0;
209 virtual std::size_t feature_get(
const std::string& aFeatureName) = 0;
236 virtual std::size_t feature_set(
const std::string& aFeatureName,
237 const std::string& aValue) = 0;
247 virtual std::size_t run() = 0;
254 virtual std::size_t step_into() = 0;
261 virtual std::size_t step_out() = 0;
268 virtual std::size_t step_over() = 0;
282 virtual std::size_t stop(
bool withQuit) = 0;
289 virtual std::size_t
detach() = 0;
319 virtual std::size_t breakpoint_set(BreakpointType aType,
320 bool aEnabled =
true,
321 const std::string& aFilename =
"",
322 int aLinenumber = -1,
323 const std::string& aFunctionName =
"",
324 const std::string& aExceptionName =
"",
325 unsigned hit_value = 0,
326 HitCondition aCondition = BiggerEqual,
327 bool aIsTemporary =
false,
328 const std::string& aExpression =
"") = 0;
336 virtual std::size_t breakpoint_get(std::size_t aBreakpointId) = 0;
351 virtual std::size_t breakpoint_update(std::size_t aBreakpointId,
352 bool aEnabled =
true,
353 int aLinenumber = -1,
354 unsigned hit_value = 0,
355 HitCondition aCondition = BiggerEqual) = 0;
363 virtual std::size_t breakpoint_remove(std::size_t aBreakpointId) = 0;
370 virtual std::size_t breakpoint_list() = 0;
377 virtual std::size_t stack_depth() = 0;
385 virtual std::size_t stack_get(
int depth = -1) = 0;
396 virtual std::size_t context_names(
int depth = -1) = 0;
410 virtual std::size_t context_get(
int depth = -1,
int contextId = -1) = 0;
426 virtual std::size_t typemap_get() = 0;
440 virtual std::size_t property_get(
const std::string& aPropertyLongName,
441 int aStackDepth = -1,
443 std::size_t aMaxDataSize = 0,
445 const std::string& aPropertyKey =
"") = 0;
459 virtual std::size_t property_set(
const std::string& aPropertyLongName,
460 int aStackDepth = -1,
462 std::size_t aMaxDataSize = 0,
463 const std::string& aPropertyAddress =
"") = 0;
480 virtual std::size_t property_value(
const std::string& aPropertyLongName,
481 int aStackDepth = -1,
483 std::size_t aMaxDataSize = 0,
485 const std::string& aPropertyKey =
"",
486 const std::string& aPropertyAddress =
"") = 0;
498 virtual std::size_t source(
const std::string& aFile,
unsigned aBeginLine = 0,
unsigned aEndLine = 0) = 0;
512 virtual std::size_t stream_option(OutputStream aStream, StreamBehaviour aBehaviour) = 0;
519 virtual std::size_t do_break() = 0;
527 virtual std::size_t eval(
const std::string& aExpr) = 0;
533 virtual void quit() = 0;