History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RUBY-1644
Type: Bug Bug
Status: Resolved Resolved
Resolution: Obsolete
Priority: Normal Normal
Assignee: Oleg Shpynov
Reporter: Oleg Shpynov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Ruby

Debug: Strange behavour while removing suspended breakpoint

Created: 06 Aug 08 11:43   Updated: 30 Oct 08 22:07
Component/s: Run/Debug
Fix Version/s: 2.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Debug: Strange behavour while removing suspended breakpoint
puts "Yes I`m here"  <- BREAKPOINT_HERE (we stopped here)

10.times do |i|
    puts i                      <- BREAKPOINT_HERE (we remove this breakpoint)
    puts "YEP!"
end

puts "Bye!"

When your session is suspended at breakpoint(dont even matter which one)
When you remove breakpoint (i.e. send corresponding command to RubyDebuggerProxy) for statement that writes something to process streams (puts for example),
this command is immediatelly executed (you see output), but this doesn`t break execution of the whole script.

After removing breakpoint, all output is shown



 All   Comments   Work Log   Change History      Sort Order:
Oleg Shpynov - 30 Oct 08 22:07
fixed in rdebug