|
The VS Code debugger shows them automatically too. Here's a screenshot I just took. Also, it's definitely not using GDB for debugging C# on Windows.
Perhaps you tried an old version of VS Code that had more primitive debugging capabilities?
I agree with you that unaided GDB can be cumbersome and time-consuming to use. FWIW the debugging story in VS Code for JS, Python, and PHP (others too, but I haven't tried them) is the same as for C#. Variables local to the site where the breakpoint was set show up automatically, and you can add watch expressions if you want to check for anything more complex.
|
|
|
|
|
I only used it on OSX for c++. Maybe it's using different debugger for different OS's?
|
|
|
|
|
I think it varies by language/runtime. Debugging C# via Mono or .NET Core works the same on Linux and OSX as it does on Windows.
C++ debugging in Code seems to be more limited than for other languages right now. Interestingly enough, it seems to have the most trouble on OSX, is acceptable on Windows(though it only works with MinGW and Cygwin, not MSVC), and works best on Linux. This screenshot shows C++ debugging with variables auto-displaying on Linux, so hopefully OSX will soon be up to par.
|
|
|
|
|
I recently got serious about using VS Code, as I'm switching from C++ programming to MEAN programming for web sites. My--admittedly somewhat random--internet search included several sites that suggest Visual Studio Code is based on the open source Atom editor. Apparently MS forked the Atom codebase and added some features from Visual Studio. (My apologies to the development team if I have over-simplified or misrepresented their work, but the information on the pages I read was a bit vague.) You can research this yourself on the MS Visual Studio Code web site.
The two conclusions I drew from this were:
1. Think of VS Code as a new code editor from Microsoft, not a modified version of the editor in Visual Studio.
2. This is not really an IDE, although it behaves like one when you start adding extensions--at least when using JavaScript and the related frameworks/environments (Express, Jsx, React, Pug, Node.js, Typescript, etc.).
modified 14-Dec-16 17:29pm.
|
|
|
|
|
|
I was looking for the Bacon option. There should always be an option for bacon.
|
|
|
|
|
Mmmm... BWAHAHAHAHAHA Bacon!
|
|
|
|
|
...depending on what kind of development you're doing.
If you're doing heavy .NET work, then full Visual Studio if what you want. I've found VS Code very useful for .NET Core and Typescript development, though. Good Intellisense and even some refactoring support. This is true for F# as well.
I've also enjoyed using it for Node.js, Python, and PHP development. It goes well beyond just syntax highlighting; in all of these languages, I've had debugger and breakpoint support working, which has come in handy. Code completion/Intellisense has also worked quite well. Not quite as well as with a statically typed language, but still enough to be very useful. This especially true in the case of JavaScript development; VS Code lets you you TypeScript type definition files even when you're developing in JS, not TS. The editor is very good at understanding JS modules and imports...which, combined with TS definition support, means I've been able to do Node.js development with full Intellisense support. I hate relying on code completion in place of actually understanding the APIs and libraries I'm using, but it's still nice to have.
Overall, I've enjoyed using VS Code. Its easy extensibility means that many people have extended its capabilities beyond what it ships with. I've even found pretty decent support in it for more esoteric languages like Haskell.
modified 19-Jul-16 7:44am.
|
|
|
|
|
It tries hard, but in it's attempts to be all things to all people, it is big, resource hungry, and slow.
Eclipse does it better, is more intuitive, and it's support for .Net is superb.
|
|
|
|
|
chaz-chance wrote: Eclipse does it better
AFAIK no one ever said that before. Ever.
"You'd have to be a floating database guru clad in a white toga and ghandi level of sereneness to fix this goddamn clusterfuck.", BruceN[ ^]
|
|
|
|
|
Maybe we just witness the first and only person in recorded history to say it!
What an historical moment!
|
|
|
|
|
I knew the importance of this moment. I had a tear in my eye and joy and satisfaction in my heart while posting the response.
"You'd have to be a floating database guru clad in a white toga and ghandi level of sereneness to fix this goddamn clusterfuck.", BruceN[ ^]
|
|
|
|
|
haha! I bet you did!
|
|
|
|
|
I want some of what the OP is smoking.
Jeremy Falcon
|
|
|
|
|
I have seen multiple Java developer coming to me asking that eclipse is way too slower when opening angular 2 projects (or projects with large number of files, (in angular 2, due to node_modules)).
I suggested them VS Code and they are quite happy with it for client side development.
Life is a computer program and everyone is the programmer of his own life.
|
|
|
|
|
I am not sure about Eclipse but in my IDE I set the node modules directories to be excluded from the IDEs project, so those tons of files are not indexed, I assume Eclipse has same problem, it is indexing lots of files and building a lot of data structures to help in features like completion and code analyse, so if those devs are missing some Eclipse feature they may try to make Eclipse ignore the node modules and maybe other folders and files(the javascript combined/minified/ugliffied generated files)
simion314
|
|
|
|
|
Thank you for setting my week up right. I haven't had that good of a laugh for a bit.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
|
|
|
|
|
I downloaded it a couple of months ago, had a quick play and pretty much forgot about it. Nothing wrong with it at first sight - it actually seems quite nice, but I continue to do most of my coding in the VS and SMS editors. Maybe it's something that will gradually worm its way in to my toolkit.
On the plus-side, Microsoft did give me a very nice T-shirt to advertise it.
|
|
|
|
|
In my experience it is very hard to move an old-timer from the editor one used for years (vim, emacs, gedit), but I would say - give it a try...
I tried it on Fedora 23 (VM) and had no problem whatsoever...
I liked the debugging capabilities, built-in and for that I would recommend it...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
To give a shot I tried VS Code on the Mac, but now staying away from using it. It starts slowly and doesnt work fine. So I like using Text Wrangler if XCode doesnt the job for some txt or xml files.
I am surprised (or not) that the VS Code has the same problems as on Windows: slow and glutty. Looks like it is the standard for developing software at Microsoft
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
It's always so funny to read one of those posts - I would not feel complete without it.
|
|
|
|
|
Having attempted to set python up in VS and hearing the angst created by try to get Xamarin working I would certainly recommend it to a non windows user, but then I'm a bastard!!!
Seriously I could not in all faith recommend VS for other than VS core languages to anyone. I don't know of a better alternative so would keep out of the discussion.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Visual Studio Code is not the same thing as Visual Studio.
See link[^].
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
That is something new I learned today, in which case I need to change me vote to I have no idea!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Incidentally, you might find Visual Studio Code easier to set up for Python development than Visual Studio.
With Code, it was just a matter of installing the Python extension. After doing that I was able to fire up a Python app in debug mode and set breakpoints to inspect some code that wasn't behaving as it should.
|
|
|
|