ruby-debug-base19x 0.11.25 → 0.11.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/ext/ruby_debug/ruby_debug.c +2 -2
  2. metadata +3 -3
@@ -9,7 +9,7 @@
9
9
  #include <insns_info.inc>
10
10
  #include "ruby_debug.h"
11
11
 
12
- #define DEBUG_VERSION "0.11.25"
12
+ #define DEBUG_VERSION "0.11.26"
13
13
 
14
14
  #define FRAME_N(n) (&debug_context->frames[debug_context->stack_size-(n)-1])
15
15
  #define GET_FRAME (FRAME_N(check_frame_number(debug_context, frame)))
@@ -841,7 +841,7 @@ debug_event_hook(rb_event_flag_t event, VALUE data, VALUE self, ID mid, VALUE kl
841
841
  {
842
842
  case RUBY_EVENT_LINE:
843
843
  {
844
- if(debug_context->stack_size == 0)
844
+ if(debug_context->stack_size == 0 || get_top_frame(debug_context)->info.runtime.block_iseq != thread->cfp->block_iseq)
845
845
  save_call_frame(event, debug_context, self, file, line, mid);
846
846
  else
847
847
  set_frame_source(event, debug_context, self, file, line, mid);
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 11
8
- - 25
9
- version: 0.11.25
8
+ - 26
9
+ version: 0.11.26
10
10
  platform: ruby
11
11
  authors:
12
12
  - Kent Sibilev, Mark Moseley
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-02-14 00:00:00 +03:00
17
+ date: 2011-03-25 00:00:00 +03:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency