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

Updates to enable robot code debugging for 2022 #487

Merged
merged 3 commits into from
Nov 25, 2021

Conversation

ThadHouse
Copy link
Member

@sciencewhiz
Copy link
Contributor

The combination of this PR and wpilibsuite/GradleRIO#554 fixed java debugging on the roboRIO, but C++ still failed.

2021-11-20T22:54:40.270Z verbose: executing command in workspace {"0":{"_args":[],"_commandLine":"gradlew deploy  -PdebugMode -PteamNumber=330 --offline  -Dorg.gradle.java.home=\"C:\\Users\\Public\\wpilib\\2022\\jdk\"","_options":{"cwd":"c:\\Users\\Joe\\Documents\\Robotics\\2022beta2CommandCpp","env":{"JAVA_HOME":"C:\\Users\\Public\\wpilib\\2022\\jdk"},"executable":"cmd.exe","shellArgs":["/d","/c"]}},"1":"c:\\Users\\Joe\\Documents\\Robotics\\2022beta2CommandCpp"}
2021-11-20T22:54:59.644Z verbose: [Locale] Loading message@en-us
2021-11-20T22:54:59.645Z error: [Locale] Failed to load message@en-us. {"0":{"errno":-4058,"syscall":"open","code":"ENOENT","path":"c:\\Users\\Public\\wpilib\\2022\\vscode\\data\\extensions\\wpilibsuite.vscode-wpilib-2022.1.1-beta-2-6-gd08521e\\i18n\\en-us\\message.json"}}
2021-11-20T22:54:59.646Z error: Debug error {"0":{"errno":-4058,"code":"ENOENT","syscall":"open","path":"c:\\Users\\Joe\\Documents\\Robotics\\2022beta2CommandCpp\\build\\debug\\debug_info.json"}}

@ThadHouse
Copy link
Member Author

Is that debug_info.json file there?

@sciencewhiz
Copy link
Contributor

No

Copy link
Contributor

@sciencewhiz sciencewhiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works after I used the right version of GradleRIO

@PeterJohnson PeterJohnson merged commit 9c538a3 into wpilibsuite:main Nov 25, 2021
wpineth added a commit to wpineth/vscode-wpilib that referenced this pull request Mar 29, 2024
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

Successfully merging this pull request may close these issues.

3 participants