vb.net - VB2010: Viewing Object Structure for Learning/Visualization Purposes -
I was wondering if there is a way to take an object in Visual Basic 2010 (Express, FWIW) and its structure Browse through the medium For example, I have an object named "model" which is created by a function which is a black box i Model is set by the "reading" function which loads a DXF file from the disk is. The reading job is not very well documented.
Whatever I have found is that model. Entity ends with a list of different objects, with all the different properties. I just want to be able to browse this list of objects and see their respective properties and values in run-time, as you can use "Blah" to use Intelligence to see a list. And waiting for the pop-up to appear.
The view of a tree which you can be open and closed will be excellent. Obviously, it has to work during run-time rather than the editor because the file is not running, if the program is not running.
Is there anything that is possible in Visual Basic 2010? Is this an underlying feature that I can not afford?
Thank you!
If a function returns an object, then the class definition of that object is somewhere in VS Right-click on the context and choose "View in object browser" and you will see class layout with all properties and methods. You do not need to do this in run-time.
If you want to expel deeply, you should check out.
Edit After reading your comments, I usually do one of three things when I try to do this Auto and Use Local Window P> Set a breakpoint and see Auto and Local windows. If you do not see them, they are under the main menu on debug, windows, it allows you to run on your tree tree view, sometimes there may be a lot of things here, so I usually do the other Why do I use one of two ways Use an instant window The instant window (IW) allows you to type in expressions and print the values. It does not have a tree view like you, but it allows you to at least hunt and peak. If you imagine the following short and simple code and put breakpoints on the second line: And this will be output: The question mark mark means "print" You can type almost any valid expression for print Name: (0) "Alice"? Name (0) .Substring (0,1) "A"? Name (0). ("Ice") is true < / Code> And as you are doing all this, you are getting intelligence about whatever is happening. Use " Brake - point and hover " I do not think it has a name beyond IntelliSense, but once you hit a breakpoint, you can hover over any variable And inspect your current values Areas are. You sometimes will cause that observe some processing warning, but when you are only debugging should be fine. Sometimes when I'm debugging a collection, I will make specific variables for one item in an archive to make this technique easier. Is there any other
? Name
calculation = 3 (0): "Alice" (1): "Bob" (2): "chuck"
Comments
Post a Comment