debugger2 icon indicating copy to clipboard operation
debugger2 copied to clipboard

the debugger stops at some locations where breakpoint is not set

Open amatsuda opened this issue 12 years ago • 2 comments

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).

amatsuda avatar Apr 15 '13 12:04 amatsuda

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

ko1 avatar Apr 16 '13 10:04 ko1

:+1:

yusukegoto avatar May 19 '14 02:05 yusukegoto