General

Profile

os97673 (Oleg Sukhodolsky)

  • Login: os97673
  • Email: os97673@gmail.com
  • Registered on: 07/21/2012
  • Last sign in: 10/13/2015

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 8 8

Activity

09/01/2015

09:12 AM Ruby Feature #11348: TracePoint API needs events for fiber's switching
Koichi Sasada wrote:
> > f1.resume # stopped at the line
> ...
I'm not sure I've completely understand you suggestion :( Could you please clarify?
I've provided the example ask how to guarantee that we will not stop somewhere inside ...
os97673 (Oleg Sukhodolsky)

08/29/2015

12:33 PM Ruby Bug #11492: TracePoint API report extra return for defined method
Reporter of original bug confirmed that ruby-head does fix the problem. os97673 (Oleg Sukhodolsky)

08/28/2015

05:10 PM Ruby Bug #11492: TracePoint API report extra return for defined method
David Rodríguez wrote:
> Oleg, could you link to the original report where you found this out? I'd like to know what kind of bug reports to expect and maybe add a regression test in byebug itself.
originally the problem was reported ...
os97673 (Oleg Sukhodolsky)

08/27/2015

07:48 PM Ruby Bug #11492: TracePoint API report extra return for defined method
MRI 2.2.3 introduced problem with TracePoint events.
For the provided test it reports extra return event for method1
~~~
b_call ruby-17051.rb:14
line ruby-17051.rb:15
call method1 ruby-1...
os97673 (Oleg Sukhodolsky)
07:44 PM Ruby Bug #11492 (Closed): TracePoint API report extra return for defined method
~~~ruby
class A
define_method "method1" do
# puts "#{method_name}(#{arg})"
return 1
end
end
a = A.new
TracePoint.new do |tp|
printf "%8s %13s %s:%-2d\n", tp.event, tp.method_id, tp.path, tp.lineno
end.enable d...
os97673 (Oleg Sukhodolsky)

08/25/2015

01:08 PM Ruby Feature #11348: TracePoint API needs events for fiber's switching
Oleg Sukhodolsky wrote:
> Koichi Sasada wrote:
> ...
I've played with the event a little bit and here is what I think.
Suppose we have the following program:
~~~ruby
f1 = Fiber.new do
loop do
Fiber.yield 1
end
end
f1....
os97673 (Oleg Sukhodolsky)

08/21/2015

12:42 PM Ruby Feature #11348: TracePoint API needs events for fiber's switching
Koichi Sasada wrote:
> I agree to add 'switching' events so I try to commit it.
> ...
I'm on vacation right now will play with ruby-head early next week.
os97673 (Oleg Sukhodolsky)

07/13/2015

02:01 PM Ruby Feature #11348 (Feedback): TracePoint API needs events for fiber's switching
as discussed in https://github.com/deivid-rodriguez/byebug/issues/153 current implementation of byebug/debase has problem with stepping when Enumarator/Fiber is used. The problem is that Fiber completely replaces stack (w/o any events) ... os97673 (Oleg Sukhodolsky)

02/26/2015

01:55 PM Ruby Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
David Rodríguez wrote:
> Both.
Ok, so let's start with byebug. When it is stopped inside rescue clause (as far as I understand) it doesn't know about the frame "rescue" added because there is no event about it. Am I right? If so h...
os97673 (Oleg Sukhodolsky)
09:56 AM Ruby Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
David Rodríguez wrote:
> After rereading the whole thing, I'm still not clear about the issue...
What exactly is unclear? Why I suggest add a new event or when byebug could miss a frame?
os97673 (Oleg Sukhodolsky)

Also available in: Atom