asp.net mvc 5 - Visual Studio 2015 / MVC 5: Attach to Process: Cannot obtain value of the local variable -


i can connect w3p process on iis box fine. can step through, although seems skip areas. also, when try view variable value, get:

cannot obtain value of local variable or argument because not available @ instruction pointer, possibly because has been optimized away. 

enter image description here

i've seen many answer on subject, geared toward local debugging. attaching server , getting this.

i have source code , working project. matter if publish app server config set 'release'? release

answer: switched 'debug' when publishing , can see variables. thought how set in project properties, it's how it's published server makes difference when publishing.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -