< :前の番号
^ :番号順リスト
> :次の番号
P :前の記事(スレッド移動)
N :次の記事(スレッド移動)
|<:前のスレッド
>|:次のスレッド
^ :返事先
_:自分への返事
>:同じ返事先を持つ記事(前)
<:同じ返事先を持つ記事(後)
---:分割してスレッド表示、再表示
| :分割して(縦)スレッド表示、再表示
~ :スレッドのフレーム消去
.:インデックス
..:インデックスのインデックス
Issue #9759 has been updated by David Rodrguez.
Hi Tomoyuki! I´ll follow up at #9321 then. What about backports to 2.0branch?
Thanks a lot!
----------------------------------------
Bug #9759: [TracePoint API] return event missing when raising exception
https://bugs.ruby-lang.org/issues/9759#change-47357
* Author: David Rodrguez
* Status: Closed
* Priority: Normal
* Assignee: Koichi Sasada
* Category: core
* Target version: current: 2.2.0
* ruby -v: https://github.com/thoughtbot/factory_girl/blob/master/lib/factory_girl/strategy_syntax_method_registrar.rb
* Backport: 2.0.0: UNKNOWN, 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 [factory_girl](https://github.com/thoughtbot/factory_girl/blob/master/lib/factory_girl/strategy_syntax_method_registrar.rb), which is where I first found the strange behaviour.
Thanks a lot in advance!
---Files--------------------------------
tracepoint_missing_return_bug.rb (1.37 KB)
--
https://bugs.ruby-lang.org/