-
Notifications
You must be signed in to change notification settings - Fork 616
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
Conditional breakpoint evalutation fails -- where do I look for the problem? #7762
Comments
You don't happen to have a space in the project name, right? Otherwise, thats not really anything we've seen. You're right that error isn't great. Due to the native library requirements, we actually inject a custom launch.json into VS Code when you run either that command or the sim command. If you run the |
Here's the content of the log file. I added spaces between the lines for readability. The first pair, referencing robot-2025-practice, corresponds to a project where conditional breakpoints work. The second pair, referencing robot-2025, is for the project where they don't work. I'm not spotting any fundamental difference. However, on my windows machine the breakpoints work in the robot-2025 project so I'll move on to doing the work I need to do there and come back to this at a less critical time. Thanks, Thad, for the help.
|
Describe the question you have.
When simulating one of my 2025 java robot projects with a conditional breakpoint set, a popup appears when the breakpoint location is reached with the message:
Breakpoint condition '(this.m_positionCorrection > 0.01)' error: Cannot evaluate, please specify projectName in launch.json.
Conditional breakpoints work in other 2025 java projects. I can't figure out what's different about the one where they don't work. The pointer to
launch.json
seems to be a red herring asprojectName
does not appear to be a valid field in the configurations listed there, according to Intellisense. Further, the contents oflaunch.json
in this project are the same as in the projects where it works:This is on linux, Ubuntu 22.04. I haven't tried it for this project on Windows. I'll do that now and update the question with what I find.
Where do I look next? Thanks.
The text was updated successfully, but these errors were encountered: