Skip to content

The startup command for internalConsole is different from integratedTerminal #440

Closed

Description

terminal:

n:\jdk1.8.0_181\bin\java ... -cp C:\java\debug\2\vscode-java-debug\testprojects\1.helloworld\bin HelloWorld "a b" \

console:

n:\jdk1.8.0_181\bin\java.. -cp C:\java\debug\2\vscode-java-debug\testprojects\1.helloworld\bin HelloWorld "a b" "

Activity

  1. added a commit that references this issue on Oct 8, 2018
  2. andxu commented on Oct 8, 2018

    @andxu
    ContributorAuthor

    Test:

    1. Open 1.helloworld
    2. F5 to generate launch.json
    3. set args to "a b \" and set breakpoint on the first line of main method
    4. F5 to hit the breakpoint, use procexp64.exe or ps to record the startup arguments (P1)
    5. Kill debug session and modify the console to "integratedTerminal" and F5 to hit the breakpoint, use procexp64.exe or ps to record the startup arguments (P2)
    6. Kill debug session and modify the console to "externalTerminal" and F5 to hit the breakpoint, use procexp64.exe or ps to record the startup arguments (P3)

    verify that P1 and P2 and P3 are the same and the args in variable view are the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions