summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.h
diff options
context:
space:
mode:
authorHiroshi Mimaki <[email protected]>2014-11-19 09:02:10 +0900
committerHiroshi Mimaki <[email protected]>2014-11-19 09:02:10 +0900
commit4e4bfb08cbbc0198d1489004f807ba6a75469f16 (patch)
treec079d5715e1942db88e9ca6472223acc73ac7059 /mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.h
parent5c6d6309b6b5e01ef3ff38f772e0fdd3fc5dd372 (diff)
parentb473043acfd1b4697e978e3ac4656dc9b03b3b22 (diff)
downloadmruby-1.1.0.tar.gz
mruby-1.1.0.zip
Merge pull request #2640 from mruby-Forum/v1.1.01.1.0
mruby-1.1.0
Diffstat (limited to 'mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.h')
-rwxr-xr-xmrbgems/mruby-bin-debugger/tools/mrdb/apibreak.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.h b/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.h
new file mode 100755
index 000000000..8bb39cb50
--- /dev/null
+++ b/mrbgems/mruby-bin-debugger/tools/mrdb/apibreak.h
@@ -0,0 +1,26 @@
+/*
+** apibreak.h
+**
+*/
+
+#ifndef APIBREAK_H_
+#define APIBREAK_H_
+
+#include "mruby.h"
+#include "mrdb.h"
+
+int32_t mrb_debug_set_break_line( mrb_state *, mrb_debug_context *, const char *, uint16_t );
+int32_t mrb_debug_set_break_method( mrb_state *, mrb_debug_context *, const char *, const char * );
+int32_t mrb_debug_get_breaknum( mrb_state *, mrb_debug_context * );
+int32_t mrb_debug_get_break_all( mrb_state *, mrb_debug_context *, uint32_t, mrb_debug_breakpoint bp[]);
+int32_t mrb_debug_get_break( mrb_state *, mrb_debug_context *, uint32_t, mrb_debug_breakpoint * );
+int32_t mrb_debug_delete_break( mrb_state *, mrb_debug_context *, uint32_t );
+int32_t mrb_debug_delete_break_all( mrb_state *, mrb_debug_context * );
+int32_t mrb_debug_enable_break( mrb_state *, mrb_debug_context *, uint32_t );
+int32_t mrb_debug_enable_break_all( mrb_state *, mrb_debug_context * );
+int32_t mrb_debug_disable_break( mrb_state *, mrb_debug_context *, uint32_t );
+int32_t mrb_debug_disable_break_all( mrb_state *, mrb_debug_context * );
+int32_t mrb_debug_check_breakpoint_line( mrb_state *, mrb_debug_context *, const char *, uint16_t );
+int32_t mrb_debug_check_breakpoint_method( mrb_state *, mrb_debug_context *, struct RClass *, mrb_sym, mrb_bool* );
+
+#endif /* APIBREAK_H_ */