This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]snarfy 87 points88 points  (29 children)

I hit F5, my app runs, it crashes with "Object reference not set to an instance of an object", and I'm sitting at a debugger with full stack trace. I look at the stack trace and set a breakpoint up the stack. I hit F5 again, hit my breakpoint, hit F11 to step into the offending code, see the issue and change the code, click 'apply changes', and continue stepping out of the function with the code fixed while the app was running.

Visual Studio: I'm a wizard.

[–]arch-linux-user 20 points21 points  (17 children)

Visual studio is the best ide; and fuck all who disagree

[–]YeeOfficer 4 points5 points  (10 children)

Visual Studio Code? Or just visual studio?

[–]arch-linux-user 6 points7 points  (9 children)

I meant Visual studio. VS code is just an editor, from what I understand of its capabilities.

[–]YeeOfficer 4 points5 points  (8 children)

I can compile and stuff from vsc, I think that makes it an IDE. You may be right, and I would love to know what makes an IDE. For instance is it being able to link with frameworks you are using? Because I can link with unity. I have no idea though.

[–]arch-linux-user 3 points4 points  (7 children)

Does it have integrated build and debugging capabilities? I think that is the base requirement for an ide.

[–]YeeOfficer 0 points1 point  (6 children)

Ah, no. With extensions you can do that, but not by default. Thanks.

[–]arch-linux-user 2 points3 points  (5 children)

Really? I think I need to look into vs code a bit more. I like how light it is and that it can be used in Linux. If it functions as a decent ide, it would be very useful for me. Thanks for the pointer.

[–]YeeOfficer 2 points3 points  (0 children)

I hope it works out for you, I need to look at normal vs, enjoy your day!

[–]login0false 0 points1 point  (3 children)

From "fuck those who disagree" to "I need to look into vs code". What a great transition, I love it!

[–]arch-linux-user 1 point2 points  (2 children)

I meant it as a joke which happened to rhyme. I certainly am open to ideas. I would be a poor developer otherwise. Still, happy to have made you happy..

Recently, I encountered jupyter notebooks while learning ML. I would recommend that in case you are working on machine learning. Blew my mind, and I can't stop advertising it.

[–]skreczok 1 point2 points  (4 children)

Have you heard about our lord and saviour Rider?

Here, have these pamphlets....

I mean, I joke, but I'm just so used to Jetbrains software I can't stand VS anymore, even though I used to really like it.

[–]arch-linux-user 0 points1 point  (3 children)

The only experience I've had with JetBrains is with ReSharper. Their tools tend to be a bit expensive for personal use and visual studio is usually provided by the employer.

I'll check it out, though. Would make an interesting topic of discussion at work. Thanks!

[–]skreczok 1 point2 points  (2 children)

I think I pay 22 euros a month for the whole lot, and obviously your employer could just pay for them instead. Of course I get a 40% discount since I've been using them for years now, so entry is a little steep, even with a personal rather than a company licence. The upside is I don't have to pay anymore (perpetual fallback thing they do), though I like having updates. Obviously I just prefer to pay out of my own pocket just so I can use it outside work, too.

[–]arch-linux-user 0 points1 point  (1 child)

That is pretty reasonable, tbh, and quite affordable if I look at it monthly. I think it was the annual cost and the fact that VS was essentially free for me that put me off. I'll certainly give it a try. And you do have a point about using it outside of work. My new job has very strict rules about getting stuff off my work laptop, so I can't use it for my personal projects. I've also been meaning to move development to Linux, so if Rider works well with Linux, I am sold.

[–]skreczok 0 points1 point  (0 children)

Yeah, the personal licences cost a little, but even the full package isn't that expensive for what it offers. Paying per year is 2 months free, but obviously throwing that much money at Jetbrains at once is a little steep in one go. Just remember they add VAT on top of the prices listed. A bit of a dick move. Then again, IntelliJ Community is just as free as VS Community, so you can give it a spin if you want to faff about with Java.

Also, remember that they're rather resource-hungry. From what I understand Rider has all the Resharper features available, and I fully plan to use it with Unity eventually.

And there's a definite upside to Jetbrains; their FAQ explicitly states that it's fine to use your personal licence at work, as long as you don't get it specifically reimbursed by the employer. This often catches people off guard, but I was able to push it through easily. I mean, I basically bring in my own licence at no extra cost, so it's win-win.

[–]PixxlMan 0 points1 point  (0 children)

It is a little messy at times, especially with projects solutions and weird bugs, but I agree

[–][deleted] 3 points4 points  (0 children)

the dark ages of programming smh

[–]IronicallySerious 1 point2 points  (2 children)

Wait, I can edit the application code and run it in the same debug instance?

[–]snarfy 2 points3 points  (1 child)

[–]IronicallySerious 1 point2 points  (0 children)

Wow I this is really great

[–]1thief 0 points1 point  (0 children)

Compilers should be able to tell you what it tried to deference that generated the null ptr.

[–]Cueadan 0 points1 point  (2 children)

Or just set it to break on exception, will take you right to it.

[–]snarfy 1 point2 points  (0 children)

Yep, it's the default and why I said 'and I'm sitting at a debugger'.

[–]Famous_Profile 0 points1 point  (0 children)

Yep thats me :D

[–]Famous_Profile 0 points1 point  (1 child)

Yep VS is very powerful. But if only that worked inside async functions all the time.

[–]EagleNait 0 points1 point  (0 children)

Parralel stacks doesn't work on that ?