microsoft / vscode-java-debug

Java Debugger for Visual Studio Code.
Other
529 stars 339 forks source link

Unable to use greater than sign in arguments #1141

Open ll931217 opened 2 years ago

ll931217 commented 2 years ago

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
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 commented 2 years ago

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