Skip to content

edit command does not work with Panic Nova #726

Description

@mzagaja

Your environment

mzagaja@Matthews-MacBook-Pro-16 ~/D/roadrunner (PLAT-1878-remove-unused-topics-routes) [SIGINT]> ruby -v
ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-darwin21]
mzagaja@Matthews-MacBook-Pro-16 ~/D/roadrunner (PLAT-1878-remove-unused-topics-routes)> rdbg -v
rdbg 1.5.0

Describe the bug
When I type edit into Ruby debug, it outputs the command information, but does not actually open the editor with the file.

To Reproduce

bundleexecrspecspec/requests/follows_spec.rbSymfonyUserisdeprecated!SwitchtoIdentity::User.Runoptions: include{:focus=>true}Allexampleswerefilteredout;ignoring{:focus=>true}Randomizedwithseed59410
.......[9,18]in ~/Developer/roadrunner/spec/requests/follows_spec.rb9| let(:session_user){new_logged_in_session_user(identity_user: identity_user)}10|
11| describe'creating'do12| context'logged in'do13| it'should succesfully create a follow for a user'do=> 14| debugger15| allow_any_instance_of(Identity::Follow).toreceive(:save){true}16| sign_insession_user17| post'/follows.json',params: {follow: {subject_type: 'User',subject_id: 1234}}18| expect(response.status).toeq(200)=>#0	block in <top (required)> (4 levels) at ~/Developer/roadrunner/spec/requests/follows_spec.rb:14#1	[C] BasicObject#instance_exec at ~/.rvm/gems/ruby-2.7.6@roadrunner/gems/rspec-core-3.11.0/lib/rspec/core/example.rb:263# and 48 frames (use `bt' command for all frames)(rdbg)edit# commandcommand: nova -wpath: /Users/mzagaja/Developer/roadrunner/spec/requests/follows_spec.rb(rdbg)edit# commandcommand: nova -wpath: /Users/mzagaja/Developer/roadrunner/spec/requests/follows_spec.rb(rdbg)edit# commandcommand: nova -wpath: /Users/mzagaja/Developer/roadrunner/spec/requests/follows_spec.rb(rdbg)edit# commandcommand: nova -wpath: /Users/mzagaja/Developer/roadrunner/spec/requests/follows_spec.rb(rdbg)exit

Expected behavior
I expected the file the debugger is open in to open in Panic Nova.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions