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

Debug mode does not stop at breakpoints in VSCode #953

Open
TrinhNC opened this issue Aug 2, 2023 · 2 comments
Open

Debug mode does not stop at breakpoints in VSCode #953

TrinhNC opened this issue Aug 2, 2023 · 2 comments
Labels
first answer provided question Question, not yet a bug ;)

Comments

@TrinhNC
Copy link

TrinhNC commented Aug 2, 2023

Describe the issue

I followed the instruction to make remote debugging possible in VSCode. However, when I start the Attach configuration, the code just run through without stopping at the break points that I set. Any idea why?

Minimal code example

No response

Files required to run the code

No response

Expected behavior

Code should stop at breakpoints.

BlenderProc version

main branch

@TrinhNC TrinhNC added the question Question, not yet a bug ;) label Aug 2, 2023
@cornerfarmer
Copy link
Member

Did you maybe execute a different blenderproc copy, so not the one where you set the breakpoint?

Also, you can hit pause after attaching in vscode. This should then pause at the current execution point. In this way you should see the file that is actually executed.

@TrinhNC
Copy link
Author

TrinhNC commented Aug 3, 2023

I executed the same file, because if I changed some thing in VsCode, I could see the updates in Blender. Hitting Pause does not help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
first answer provided question Question, not yet a bug ;)
2 participants