-
January 16th, 2009, 03:52 PM
#1
run-time object inspection question
VS2008, C#
In several of my business objects, I'm lazily loading some data that requires a call to the DB. This presents a problem when trying to quick watch the parent object. When it hits that property it tries to load that data only to time out and cause all the subsequent properties to fail to display as well, even if they're simple.
My question is, is there an attribute or something I can put on those properties to tell the IDE to NOT evaluate those properties during a quick watch?
Thanks!
ope
-
January 16th, 2009, 04:50 PM
#2
Re: run-time object inspection question
Just turn off evaluations under the Options->Debugging tab.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|