c# - VS2012 Debugger can watch variables from third party reference only once -


i sorry vague title, have trouble describing in 1 clear sentence issue, answers me both solution , knowledge surrounding it.

so!

i have small form application use test new dynamics 2013 web services. added third party reference microsoft.xrm.sdk.dll references. (i named specific dll, occurred me other third party dlls, wanted give bit more context)

here small sample of code of line execute in application :

retrieveallentitiesresponse response = (retrieveallentitiesresponse) m_orgproxy.execute(raerequest); console.write(response); 

the type retrieveallentitiesresponse's full type {microsoft.xrm.sdk.messages.retrieveallentitiesresponse} .

basically, first time debug application, able watch variable , hover on it, etc.

+       response    {microsoft.xrm.sdk.messages.retrieveallentitiesresponse}    microsoft.xrm.sdk.messages.retrieveallentitiesresponse 

on other hand, let's stop application, restart , break @ same place, not able watch variable.

response             name 'response' not exist in current context 

if restart vs2012, first time debug it, once again able inspect variable, times after that, nope.

i checked modules window, , both times, working or not, symbols not loaded microsoft.xrm.sdk.dll. (which find bit surprising, kinda expected see symbols first time.) running in debug, non-optimized code, cleaned solution , disabled add-ins, did not change anything. have idea going on, need figure out?

i messed debugging options enable code, enable .net framework source stepping , jit managed, none of these options solved problem.

thank you!

well, have liked understand why occurred, using visual studio 2013 solves issue.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -