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

Debugger not working when jar packages contain unicode filenames #1488

Closed
zminic opened this issue Jun 14, 2024 · 3 comments
Closed

Debugger not working when jar packages contain unicode filenames #1488

zminic opened this issue Jun 14, 2024 · 3 comments

Comments

@zminic
Copy link

zminic commented Jun 14, 2024

Debugger stops on the breakpoint (as seen in callstack), but there is no change in the rest of the editor and I can't step through the code.

Environment
  • Operating System: Linux
  • JDK version: 11
  • Visual Studio Code version: 1.90.0
  • Java extension version: 0.27.0
  • Java Debugger extension version: 0.57.0
Steps To Reproduce
  • Create SpringBoot maven project and add package "cucumber-java" version 7.8.1
  • Try to debug any code
Current Result

When debugging is started in Call Stack window I can see that thread is paused for breakpoint, but there is no visual cue that we are in debug mode and can't proceed debugging.

Call stack window shows error message: "Malformed input or input contains unmappable characters."

Expected Result

I'm able to step through the code.

Additional Informations

When cucumber-java package is removed debugging starts working again.

vscode debugging error

@testforstephen
Copy link
Contributor

If you use Go to definition feature, does it open the problem file in VS Code? The debugger is reusing the same class file resolving function as the Red Hat Java extension.

@zminic
Copy link
Author

zminic commented Jul 4, 2024

"Go to definition" stops working for the entire project at some point if this package is included. It works when I open vscode, but after some time (I think when compilation is done) it stops working and output for java language extension shows similar error as the one above.

@testforstephen
Copy link
Contributor

this duplicates with redhat-developer/vscode-java#3139

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

No branches or pull requests

2 participants