Skip to content

the debugger stops at some locations where breakpoint is not set #5

@amatsuda

Description

@amatsuda

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions