7 ms·
One of the install options is "Linux development with C++"
by Maarten88 10y ago
One of the install options is "Linux development with C++"
- LyalinDotCom 10y agoYes our C++ team has been investing into this area for a while now, we're building some really powerful debugging capabilities there as just one thing to mention with remote debug right out to your Linux machine or VM
- TheCoreh 10y agoDoes that mean VS will support C11 features?
- hubert123 10y agothe debug mode is still starting up too slow, i dont know if it's possible to improve that but even if i disable copying sources it takes an additional ~5 seconds for it to work on the same machine (linux on a VM running in vmplayer with shared folders active)
- sremani 10y agoThat is the natural extension of Linux Subsystem on Windows.
- robotdad 10y agoPM for this at MS. We do work with WSL but do not rely on it. Currently we treat it as another remote Linux machine, just setup SSH in WSL and we'll work
- Matthias247 10y agoIs this also integrated with the new Docker features that we saw in the live stream? I think being able to code in VS, build the project in ones favorite Linux distributions docker image and running or debugging it there sounds quite compelling. If I develop in VS for a Linux target system how does VS know about the headers/libraries on the target? Oh and a question that would surely interest some of my colleagues: Can it also be used to build and debug Linux kernel stuff, e.g. kernel modules?
- robotdad 10y agoEnable ssh in your dockerfile and you are good to go there, see this one as an example: https://hub.docker.com/r/ducatel/visual-studio-linux-build-box/ https://hub.docker.com/r/ducatel/visual-studio-linux-build-b... Regarding headers/libs you would need to manage that yourself, I normally scp them down locally and add to my Intellisense paths. Regarding the kernel that isn't something I've played with much, I've been able to load the source but I have not tried any debug scenarios there.