debugger2
debugger2 copied to clipboard
the debugger stops at some locations where breakpoint is not set
For example, when debugging this webapp under WEBrick, the debugger always stops inside Rack or WEBRick code (e.g. in my case, rack-1.5.2/lib/rack/handler/webrick.rb).
require 'sinatra'
require 'debugger2'
get '/' do
debugger
'Hello'
end
Strangely, this does never happen when running exact the same app under Thin web server (but unfortunately, it DOES happen when debugging Rails apps under any sort of web server, which indeed is our major concern).
Thank you for your reporting. Now I don't have enough time to solve this problem. Please wait a time.
Easy reproduce-able code is highly welcome, to debug this issue.
Thanks, Koichi
:+1: