Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breakpoints are not working properly #20

Open
ilpwpsfu opened this issue Sep 1, 2022 · 1 comment
Open

Breakpoints are not working properly #20

ilpwpsfu opened this issue Sep 1, 2022 · 1 comment

Comments

@ilpwpsfu
Copy link

ilpwpsfu commented Sep 1, 2022

VIM 9.0
I am trying to attach inspector to a simple script with setInterval(_ => console.log(Date.now())) running in background.

  • Its attaching properly, but the message is "Break on start in [full path to file]:1" and it has not stopped.
  • Breakpoint set with command is shown but never catches. When it toggles off inspector says "Could not find breakpoint at [full path to file]:2". After that it cannot set the breakpoint again.
  • If i set the breakpoint inside the inspector window by local path - its breaks and shows the position in file where the breakpoint is.
    Why it's setting breakpoints with command by full path and not local and how to fix that?
@ilpwpsfu ilpwpsfu changed the title Breakpoints are not working Breakpoints are not working properly Sep 1, 2022
@eliba2
Copy link
Owner

eliba2 commented Sep 3, 2022

Hi, I've successfully tried a one-line script as above in vim 8.2. I suspect Vim9 could be the issue, I'll try and find some time to finally update and check it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants