We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

"error: cannot obtain value" when debugging

Thread ID:

Created:

Updated:

Platform:

Replies:

39318 Jan 4,2006 09:39 AM Jan 6,2006 04:04 AM Windows Forms 4
loading
Tags: Calculate
Brian J. Burnett
Asked On January 4, 2006 09:39 AM

When I step into a sub all of the global and local to the sub syncfusion type variables get the message "error: cannot obtain value" in the debugger. Although I can''t see what is going on it does appear that the syncfusion variables are workign correctly as my program behaves as expected. Any idea what is going on? I''m using 4.101.0.9 and VS2003.

Brian J. Burnett
Replied On January 4, 2006 09:46 AM

This only occurs after calling CalculateAll. >When I step into a sub all of the global and local to the sub syncfusion type variables get the message "error: cannot obtain value" in the debugger. > >Although I can''t see what is going on it does appear that the syncfusion variables are workign correctly as my program behaves as expected. > >Any idea what is going on? > >I''m using 4.101.0.9 and VS2003. > >

Administrator [Syncfusion]
Replied On January 5, 2006 02:11 AM

Hi Brian, I tried to reproduce the error in this sample: C:\Program Files\Syncfusion\Essential Studio\4.1.0.9\windows\Calculate.Windows\Samples\XlsFileUsingExcelRW\vb I was not able to reproduce the error in this sample. I have attached the tested screen shot from this sample.Screenshot.zip Could you please give me some more information regarding how to implement the issue in this sample. I would really appreciate it if you could provide us with the sample that exhibits this behavior. We will try analyzing it here. Thanks for choosing and using Syncfusion Products. Best Regards, Jeba.

Brian J. Burnett
Replied On January 5, 2006 09:21 AM

Hi Jeba I''ve attached a couple of screenshots the first is at the call to the sub showing all is ok. The second is after F11 to step into the sub where you can see that all of the calcWB properties are displaying the error. >Hi Brian, >I tried to reproduce the error in this sample: >C:\Program Files\Syncfusion\Essential Studio\4.1.0.9\windows\Calculate.Windows\Samples\XlsFileUsingExcelRW\vb >I was not able to reproduce the error in this sample. I have attached the tested screen shot from this sample.Screenshot.zip Could you please give me some more information regarding how to implement the issue in this sample. I would really appreciate it if you could provide us with the sample that exhibits this behavior. We will try analyzing it here. > >Thanks for choosing and using Syncfusion Products. > >Best Regards, >Jeba.

screen10.zip

Administrator [Syncfusion]
Replied On January 6, 2006 04:04 AM

Hi Brian, The reason is because, either your function takes a lot of parameters, or you are calling a function that takes a lot of parameters In VS.NET, when we are debugging, if a function passes a maximum of 32 DWORDS parameters, the error will be observed., because an integer-sized bitvector is used to track the stack. Please refer this link: error: cannot obtain value while debugging Best Regards, Jeba

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;