Skip to content

Commit 95cdac3

Browse files
committed
fix step out
1 parent 1ffadbc commit 95cdac3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ext/hacks.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ update_stack_size(debug_context_t *context)
1010
thread = ruby_current_thread;
1111
/* see backtrace_each in vm_backtrace.c */
1212
context->stack_size = (int)(RUBY_VM_END_CONTROL_FRAME(thread) - thread->cfp - 1);
13-
// if (CTX_FL_TEST(context, CTX_FL_UPDATE_STACK)) {
14-
context->calced_stack_size = context->stack_size;
15-
// CTX_FL_UNSET(context, CTX_FL_UPDATE_STACK);
16-
// }
13+
if (CTX_FL_TEST(context, CTX_FL_UPDATE_STACK)) {
14+
context->calced_stack_size = context->stack_size;
15+
CTX_FL_UNSET(context, CTX_FL_UPDATE_STACK);
16+
}
1717
}

lib/debase/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Debase
2-
VERSION = "0.2.2.beta5" unless defined? VERSION
2+
VERSION = "0.2.2.beta7" unless defined? VERSION
33
end

0 commit comments

Comments
 (0)