how is it possible to change variables, etc. as u r steppiing through the program?
(It is easy to do this in vb 6 but not sure how to do it in vb.net)
Thanks
Printable View
how is it possible to change variables, etc. as u r steppiing through the program?
(It is easy to do this in vb 6 but not sure how to do it in vb.net)
Thanks
I don't think that this happens with .NET proj , since when you debug or even set your proj to release , VS.NET runs the exe file so , I believe you can't change it because it's running . Anyways , there's something you want to see : Tools menu -----Options----Debugging -------Edit and Continue----Changes in Visua Basic and C# Code ------then you'll find two checkboxes . I think these options let you edit while dubugging then it won't update your code till the next run .
Great.
Thanks
YES, you can change variable values at runtime, when running an applications from the .NET IDE. You can do it in the Autos, Locals, and Watch windows. All you have to do is click on the variable in one of those windows, and change the value.
Notice , I was talking about dubugging(changing or additing) code fragments directly to the IDE , which I don't think can be done there .
No, actually changing code cannot be done at runtime in the IDE.