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

Compound can not run twice the same configuration #69139

Closed
canvas-J opened this issue Feb 21, 2019 · 4 comments
Closed

Compound can not run twice the same configuration #69139

canvas-J opened this issue Feb 21, 2019 · 4 comments
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues regression Something that used to work is now broken
Milestone

Comments

@canvas-J
Copy link

Issue Type: Bug

I don't know if it's a Bug or the latest optimization strategy for the editor, but when I open multiple programs in one single window, I can't run them at the same time. Sometimes when I debug a program, I want to run it immediately after a brief modification while keeping the running program running until it comes out, but now as long as I want to run more than one program at the same time. It's very inconvenient for me to have to open a new window or even multiple windows to implement the preface.

VS Code version: Code 1.31.1 (1b8e830, 2019-02-12T02:20:54.427Z)
OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 7.90GB (3.67GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (12)
Extension Author (truncated) Version
project-manager ale 10.3.2
gitignore cod 0.6.0
git-extension-pack don 0.1.3
githistory don 0.4.6
gitlens eam 9.5.1
diff-tool jin 0.0.1
vs-color-picker lih 1.0.0
anaconda-extension-pack ms- 1.0.1
python ms- 2019.1.0
vscode-yaml red 0.3.0
markdown-preview-enhanced shd 0.3.11
vscode-open-in-github ziy 1.3.6
@Tyriar
Copy link
Member

Tyriar commented Feb 22, 2019

Have you read about multi-target debugging and compound launch configs? https://code.visualstudio.com/docs/editor/debugging#_multitarget-debugging

@weinand weinand added the info-needed Issue requires more information from poster label Feb 22, 2019
@weinand
Copy link
Contributor

weinand commented Feb 22, 2019

@canvas-J I don't really understand what you are trying to do. Please provide exact steps for what you are trying to do, what do you expect and what is actually happening.

@canvas-J
Copy link
Author

@weinand @Tyriar Thank you for your reply, here I made a Gif of the problem. Obviously, I can only run one program under a single window. But before about two versions, I could run multiple programs in one window at the same time.

@macromaniac
Copy link

Basically 1.28.1 and earlier you could run multiple instances of the same program, but now you cannot. In my launch.json the following used to launch 3 servers and a master server, but any version after 1.28.1 it only launches 1 server and a master server

    {
        "name": "x3 launch all",
        "configurations": [ "server", "server", "server", "master_server", "client" ],
    },

A temporary workaround would be creating a bunch of launch configurations like server_1, server_2, server_3.. but this becomes impractical when you are doing stress tests with like 9 servers and a master server.

@weinand weinand assigned isidorn and unassigned weinand Feb 23, 2019
@weinand weinand added debug Debug viewlet, configurations, breakpoints, adapter issues regression Something that used to work is now broken and removed info-needed Issue requires more information from poster labels Feb 23, 2019
@isidorn isidorn changed the title Can't run more than one program in one window Compound can not run twice the same configuration Feb 25, 2019
@isidorn isidorn added this to the February 2019 milestone Feb 25, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues regression Something that used to work is now broken
Projects
None yet
Development

No branches or pull requests

5 participants