-
Notifications
You must be signed in to change notification settings - Fork 450
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
(bug): unable to properly debug custom java components #1315
Comments
I found out why it's not working and why it worked when there was a file in file history. It has to do with the order of executions and the following lines of code Digital/src/main/java/de/neemann/digital/gui/Main.java Lines 194 to 202 in 426a1e1
Here is a detailed explanationThe order of executions is as follows when debugging
The gotchaFirst two calls to the Originally posted by @me-nkr in #1312 (comment) |
Discussed in #1312
Originally posted by me-nkr August 9, 2024
I am trying to create a custom component and debug it, and there are two issues I am facing
when debugging the component is greyed out
java -cp "digitaln2t-1.0-SNAPSHOT.jar:/path/to/Digital/Digital.jar" com.github.itoshkov.digitaln2t.Nand2TetrisComponentSource
,java -cp "target/pluginExample-1.0-SNAPSHOT.jar:Digital.jar" de.neemann.digital.plugin.DemoCompone ntSource
and tried using vscode java debugger, the same is the resultthis is a minor inconvenience, but just wanted to know about it, when using vscode java debugger and making changes to the file the changes are not reflected in the Digital instance that was opened with debugger.
The text was updated successfully, but these errors were encountered: