microsoft / microsoft/vscode-java-debug

Unable to use greater than sign in arguments

Open
#1,141 2 comments 0 reactions 1 assignee View on GitHub

@testforstephen is already working on this.

Since Mar 30, 2022.

ai-triaged bug launch
Dominant language
TypeScript
Stars
591
Forks
429
Avg merge
1d 9h
Merged PRs (30d)
19

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.