Jump to content

So I just launched Visual Studio 2015 to get my programs ready for Windows 10 (Nothing that's released, just stuff I currently use myself). I tried running one of my programs which I wrote a few years ago in Visual Basic (Visual studio 2012) and it worked fine but when I tried the program written in C# (also in Visual studio 2012), which has a lot more code that is "more advanced code" it wouldn't work.

 

This is why I'm planning on making sure that I can make it work before upgrading to Windows 10 using VS 2015.

 

Anyway, to the problem, Visual studio 2015 asked me the following when I tried to debug in Release mode. Why and what the heck does it mean.

 

"You are debugging a Release build of X.exe. Using Just My Code with Release builds compiler optimizations results in a degraded debugging experience (e.g. breakpoints will not be hit)."

 

VKFykAB.png?1

 

 

So what I got of this (which may be wrong), is that since Release mode is how the program will run when published and the Debug mode is a bit slower to help with finding errors and, as mentioned, being able to hit breakpoints. It's just a warning telling me it's in Release mode?

 

Though, the Just My Code thing is new to me (I haven't heard of it before at least), what does it mean? Is it only my code that runs and comments are taken out? Or what?

 

 

Could someone just help me with if I've understood things correctly or if there is more to it.

 

Thanks.

Spoiler

System:

i5 3570k @ 4.4 GHz, MSI Z77A-G43, Dominator Platinum 1600MHz 16GB (2x8GB), EVGA GTX 980ti 6GB, CM HAF XM, Samsung 850 Pro 256GB + Some WD Red HDD, Corsair RM850 80+ Gold, Asus Xonar Essence STX, Windows 10 Pro 64bit

PCPP:

http://pcpartpicker.com/p/znZqcf

 

Link to comment
https://linustechtips.com/topic/417418-visual-studio-2015-is-asking-something-new/
Share on other sites

Link to post
Share on other sites

It's probably appearing because you're running your code with the debugger attached but without using the debug settings that would give you all the benefits. So it's letting you know that not every debugging feature will work when you run it as it is currently set up.

 

This page gives you some explanation on what VS uses to debug your code and why a message like you got would pop up in your current state. It also shows that it's been around since at least VS 2005 even though it might seem new to you. Here is some more info on Just My Code for VS 2015 in case you want to know more.

Link to post
Share on other sites

It's probably appearing because you're running your code with the debugger attached but without using the debug settings that would give you all the benefits. So it's letting you know that not every debugging feature will work when you run it as it is currently set up.

 

This page gives you some explanation on what VS uses to debug your code and why a message like you got would pop up in your current state. It also shows that it's been around since at least VS 2005 even though it might seem new to you. Here is some VS 2015 info on Just My Code.

Thanks, that's pretty much what I thought then. I'm a bit confused by not having heard Just My Code before, I knew what it did but I hadn't heard that actual name before.

 

Anyway, thanks!

Spoiler

System:

i5 3570k @ 4.4 GHz, MSI Z77A-G43, Dominator Platinum 1600MHz 16GB (2x8GB), EVGA GTX 980ti 6GB, CM HAF XM, Samsung 850 Pro 256GB + Some WD Red HDD, Corsair RM850 80+ Gold, Asus Xonar Essence STX, Windows 10 Pro 64bit

PCPP:

http://pcpartpicker.com/p/znZqcf

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×