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

Unbound breakpoint #107897

Closed
amormicoder opened this issue Oct 1, 2020 · 13 comments
Closed

Unbound breakpoint #107897

amormicoder opened this issue Oct 1, 2020 · 13 comments
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues info-needed Issue requires more information from poster

Comments

@amormicoder
Copy link

  • VSCode Version: 1.49.2
  • OS Version: Windows 10

Steps to Reproduce:

  1. Set a breakpoint at line in code.
  2. Launch chrome to start a debuggind session.

As soon as the browser opens, the breakpoints show as "unbound breakpoint".

I've tried to uninstall and install vs code and the chrome extension, but still getting same behaviour.

Also i tried to install nightly extensions and set debug.javascript.usePreview: false, but couldn't fix it.

Thanks in advance.

@vscodebot
Copy link

vscodebot bot commented Oct 1, 2020

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@isidorn isidorn assigned connor4312 and unassigned isidorn Oct 1, 2020
@isidorn isidorn added the debug Debug viewlet, configurations, breakpoints, adapter issues label Oct 1, 2020
@connor4312
Copy link
Member

/jsDebugLogs

@plinionaves
Copy link

plinionaves commented Oct 1, 2020

Same problem here with 1.49.2 version

@connor4312
Copy link
Member

@plinionaves please collect a trace log using the instructions above so I can help you out

@plinionaves
Copy link

Hi @connor4312, I sent my log file in the email mentioned above, thanks in advance

@connor4312
Copy link
Member

It doesn't look like your application is loading your "OrderStatusService.ts" anywhere. Where do you expect it to be coming from?

@plinionaves
Copy link

Really, I tried to debug directly through chrome too but I couldn't find it
It is inside a directory in my Vue project, running with the Webpack, I will try to restart the server

@connor4312
Copy link
Member

Thanks for the info. Based on that, this is probably not a problem in the scope of VS Code; you may have more luck with StackOverflow and similar.

@yoyo930021
Copy link

yoyo930021 commented Oct 8, 2020

I have a same problem in vuejs/vetur#2301.
logs: vscode-debugadapter-1.json.gz

PS. VSCode can get correct code position when debugger in code.

@connor4312
Copy link
Member

connor4312 commented Oct 8, 2020

Your sourcemaps or launch config are set incorrectly. You set a breakpoint in /git/vetur/server/src/utils/prettier/index.ts, but the sourcemap maps back to /git/vetur/server/dist/server/src/utils/prettier/index.ts

@yoyo930021
Copy link

yoyo930021 commented Oct 9, 2020

Your sourcemaps or launch config are set incorrectly. You set a breakpoint in /git/vetur/server/src/utils/prettier/index.ts, but the sourcemap maps back to /git/vetur/server/dist/server/src/utils/prettier/index.ts

Thanks, I think it's a sourcemap problem with esbuild.
I hack for it vuejs/vetur@2dd9fa8.

@connor4312
Copy link
Member

Sounds good.

We've not had a followup from the original poster in 7 days, thus closing this issue.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

6 participants
@isidorn @connor4312 @plinionaves @yoyo930021 @amormicoder and others