Forum: Ruby-core [Assigned] [TracePoint API] return event missing when raising exception

8cbb39dadafaf2287a83a13ee4981ec9?d=identicon&s=25 unknown (Guest)
on 2014-08-31 09:13
(Received via mailing list)
Issue #9759 has been updated by Usaku NAKAMURA.

Status changed from Closed to Assigned


Bug #9759: [TracePoint API] return event missing when raising exception

* Author: David Rodríguez
* Status: Assigned
* Priority: Normal
* Assignee: Koichi Sasada
* Category: core
* Target version: current: 2.2.0
* ruby -v:
* Backport: 2.0.0: REQUIRED, 2.1: DONE
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
which is where I first found the strange behaviour.

Thanks a lot in advance!

tracepoint_missing_return_bug.rb (1.37 KB)
This topic is locked and can not be replied to.