[#92891] Question: ruby 2.7.0-preview1 also upgrades bundler to 2.1.0.pre.1? — Al Snow <jasnow@...>
Tried the new 2.7.0-preview1 upgrade to Ruby and see that bundler is also upgraded (to 2.1.0.pre.1).
5 messages
2019/05/30
[#92892] Re: Question: ruby 2.7.0-preview1 also upgrades bundler to 2.1.0.pre.1?
— SHIBATA Hiroshi <hsbt@...>
2019/05/30
Bundler 2.1.0.pree.1 is the expected version.
[ruby-core:92880] [Ruby trunk Bug#15885] Duplicated `:raise` tracepoint event when exception inside `load` call happens
From:
deivid.rodriguez@...
Date:
2019-05-29 10:29:41 UTC
List:
ruby-core #92880
Issue #15885 has been reported by deivid (David Rodr刕uez). ---------------------------------------- Bug #15885: Duplicated `:raise` tracepoint event when exception inside `load` call happens https://bugs.ruby-lang.org/issues/15885 * Author: deivid (David Rodr刕uez) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- Hi! A long time ago, [this ruby-core change](https://github.com/ruby/ruby/commit/1998039ea4f867583d7e37ce200a88490707c330) broke a test in byebug related to post-mortem debugging. See https://github.com/deivid-rodriguez/byebug/issues/165. The problem is that after the mentioned commit, the TracePoint API raises two `:trace` events when an exception happens during a `load` call. As a result, byebug ends up using the second `:raise` event, and that means post-mortem debugging leaves the user in an incorrect place. I managed to workaround the issue inside byebug with https://github.com/deivid-rodriguez/byebug/pull/562, but I thought it would be worth mentioning here since it seems like incorrect behavior to me. For what it's worth, reverting the referenced commit fixes the issue. I attach a patch doing that together with a test. ---Files-------------------------------- 0001-Single-raise-tracepoint-event-when-exception-inside-.patch (4.44 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>