ext/byebug/byebug.h in byebug-2.7.0 vs ext/byebug/byebug.h in byebug-3.0.0
- old
+ new
@@ -3,18 +3,18 @@
#include <ruby.h>
#include <ruby/debug.h>
/* flags */
-#define CTX_FL_CATCHING (1<<1) /* catching of exceptions enabled */
-#define CTX_FL_DEAD (1<<2) /* this context belonged to a dead thread */
-#define CTX_FL_ENABLE_BKPT (1<<3) /* cab check for breakpoints */
-#define CTX_FL_FORCE_MOVE (1<<4) /* don't stop unless we've changed line */
-#define CTX_FL_IGNORE (1<<5) /* this context belongs to ignored thread */
-#define CTX_FL_SUSPEND (1<<6) /* thread currently suspended */
-#define CTX_FL_TRACING (1<<7) /* call at_tracing method */
-#define CTX_FL_WAS_RUNNING (1<<8) /* thread was previously running */
+#define CTX_FL_DEAD (1<<1) /* this context belonged to a dead thread */
+#define CTX_FL_ENABLE_BKPT (1<<2) /* can check for breakpoints */
+#define CTX_FL_FORCE_MOVE (1<<3) /* don't stop unless we've changed line */
+#define CTX_FL_IGNORE (1<<4) /* this context belongs to ignored thread */
+#define CTX_FL_SUSPEND (1<<5) /* thread currently suspended */
+#define CTX_FL_TRACING (1<<6) /* call at_tracing method */
+#define CTX_FL_WAS_RUNNING (1<<7) /* thread was previously running */
+#define CTX_FL_STOP_ON_RET (1<<8) /* can stop on method 'end' */
/* macro functions */
#define CTX_FL_TEST(c,f) ((c)->flags & (f))
#define CTX_FL_SET(c,f) do { (c)->flags |= (f); } while (0)
#define CTX_FL_UNSET(c,f) do { (c)->flags &= ~(f); } while (0)
@@ -33,14 +33,13 @@
ctx_stop_reason stop_reason;
VALUE thread;
int thnum;
- int dest_frame;
- int lines; /* # of lines in dest_frame before stopping */
- int steps; /* # of steps before stopping */
- int after_frame; /* stop right after returning from this frame */
- int before_frame; /* stop right before returning from this frame */
+ int dest_frame; /* next stop's frame if stopped by next */
+ int lines; /* # of lines in dest_frame before stopping */
+ int steps; /* # of steps before stopping */
+ int steps_out; /* # of returns before stopping */
VALUE last_file;
VALUE last_line;
VALUE backtrace; /* [[loc, self, klass, binding], ...] */