summaryrefslogtreecommitdiff
path: root/iseq.h
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2023-08-01 17:25:20 +0900
committerKoichi Sasada <ko1@atdot.net>2023-08-01 22:46:17 +0900
commitd68c01fd314ebd6dc1d89c95a2734fad4f0953b0 (patch)
treeb8d8794f59990f635eaf984119519f0a9cd51bd1 /iseq.h
parentf11ac06337fc56104172c3241393fd95d3a6c60d (diff)
support `rescue` event for TracePoint
fix [Feature #19572]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8150
Diffstat (limited to 'iseq.h')
-rw-r--r--iseq.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/iseq.h b/iseq.h
index 42ddb05147..1ad07e9065 100644
--- a/iseq.h
+++ b/iseq.h
@@ -83,9 +83,10 @@ ISEQ_ORIGINAL_ISEQ_ALLOC(const rb_iseq_t *iseq, long size)
RUBY_EVENT_CALL | \
RUBY_EVENT_RETURN| \
RUBY_EVENT_C_CALL| \
- RUBY_EVENT_C_RETURN| \
- RUBY_EVENT_B_CALL| \
- RUBY_EVENT_B_RETURN| \
+ RUBY_EVENT_C_RETURN | \
+ RUBY_EVENT_B_CALL | \
+ RUBY_EVENT_B_RETURN | \
+ RUBY_EVENT_RESCUE | \
RUBY_EVENT_COVERAGE_LINE| \
RUBY_EVENT_COVERAGE_BRANCH)