Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/debug/breakpoint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def setup
@tp = TracePoint.new(:raise){|tp|
exc = tp.raised_exception
exc.class.ancestors.each{|cls|
suspend if pat === cls.name
suspend if @pat === cls.name
}
}
end
Expand Down
2 changes: 1 addition & 1 deletion lib/debug/session.rb
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ def break? file, line

def add_catch_breakpoint arg
bp = CatchBreakpoint.new(arg)
add_braekpoint bp
add_breakpoint bp
end

def add_check_breakpoint expr
Expand Down