Skip to content

(bug): unable to properly debug custom java components #1315

@me-nkr

Description

@me-nkr

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
    image

    • I tried using 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 result
    • it worked when I provided the jar path as Java Library option in Digital Settings
  • this 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions