aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/debug.h
diff options
context:
space:
mode:
authormd52011-03-25 13:26:20 +0200
committermd52011-03-25 13:37:00 +0200
commitd86504ef887c5f10fedbc081476a050295241cb4 (patch)
treebceaf93b0b1769a32596d63b46913bd76a9f0d19 /engines/sci/debug.h
parent4ceb4838ed9c153337a7a07fc03d3d1e78351af4 (diff)
downloadscummvm-rg350-d86504ef887c5f10fedbc081476a050295241cb4.tar.gz
scummvm-rg350-d86504ef887c5f10fedbc081476a050295241cb4.tar.bz2
scummvm-rg350-d86504ef887c5f10fedbc081476a050295241cb4.zip
SCI: Cleaned up the BreakpointType enum and documented the bpe command
Diffstat (limited to 'engines/sci/debug.h')
-rw-r--r--engines/sci/debug.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/sci/debug.h b/engines/sci/debug.h
index d9959f0b7f..8ddbbd0d45 100644
--- a/engines/sci/debug.h
+++ b/engines/sci/debug.h
@@ -34,18 +34,18 @@ namespace Sci {
// These types are used both as identifiers and as elements of bitfields
enum BreakpointType {
/**
- * Break when selector is executed. data contains (char *) selector name
+ * Break when a selector is executed. Data contains (char *) selector name
* (in the format Object::Method)
*/
- BREAK_SELECTOREXEC = 1 << 0, // break when selector gets executed
- BREAK_SELECTORREAD = 1 << 1, // break when selector gets executed
- BREAK_SELECTORWRITE = 1 << 2, // break when selector gets executed
+ BREAK_SELECTOREXEC = 1 << 0, // break when a function selector is executed
+ BREAK_SELECTORREAD = 1 << 1, // break when a variable selector is read
+ BREAK_SELECTORWRITE = 1 << 2, // break when a variable selector is written
/**
- * Break when an exported function is called. data contains
+ * Break when an exported function is called. Data contains
* script_no << 16 | export_no.
*/
- BREAK_EXPORT = 1 << 3
+ BREAK_EXPORT = 1 << 3
};
struct Breakpoint {