Project

General

Profile

Actions

Bug #9759

closed

[TracePoint API] return event missing when raising exception

Added by deivid (David Rodríguez) almost 10 years ago. Updated over 4 years ago.

Status:
Closed
Target version:
-
ruby -v:
https://github.com/thoughtbot/factory_girl/blob/master/lib/factory_girl/strategy_syntax_method_registrar.rb
[ruby-core:62096]

Description

I think I found another bug in the TracePoint API, which seems related to #9321. In this case, the failing event is a return event from a method inside of which the exception was generated.

I wrote a failing test case, adapting the code from factory_girl, which is where I first found the strange behaviour.

Thanks a lot in advance!


Files

tracepoint_missing_return_bug.rb (1.37 KB) tracepoint_missing_return_bug.rb deivid (David Rodríguez), 04/19/2014 12:08 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0