vscode-java-debug icon indicating copy to clipboard operation
vscode-java-debug copied to clipboard

Unable to use greater than sign in arguments

Open ll931217 opened this issue 3 years ago • 1 comments

I am using Java to create a Tibco Rendezvous application, the event name used can have an asterisk (*) or a greater than (>) to indicate multicast. However whenever I use the greater than sign, it doesn't register the next argument which leads to an "Array out of index" exception.

Environment
  • Operating System: Pop OS 21.10
  • JDK version: 17
  • Visual Studio Code version: 1.62.2
  • Java extension version: 0.22.1
  • Java Debugger extension version: 0.38.0
Steps To Reproduce
  1. Open Run/Debug configuration file
  2. Add "args": "9999 7560 ';239.11.2.99;' '' 'GYRO.BRIDGE.>' 6290 ';239.11.2.99;' ''" to whichever configuration
  3. Run the configuration

attach a sample project reproducing the error attach logs image Just taking a screenshot because all I am doing is printing each argument, so no errors.

Current Result

Greater than sign makes the next argument not being registered when running the application.

Edit: Just want to add that this code isn't printing to the terminal

Expected Result

Register the greater sign

Edit: Should print to the terminal

Additional Informations

Image of output

ll931217 avatar Mar 23 '22 09:03 ll931217

Did further testing using:

"args": "9999 7560 \";239.11.2.99;\" \"\" \"GYRO.BRIDGE.\>\" 6290 \";239.11.2.99;\" \"\""

This seems to be correct however the greater than symbol is missing.

image

ll931217 avatar Mar 24 '22 08:03 ll931217