change in while running

Posted by Shubhashree under ASP.NET on 9/9/2008 | Views : 1369 | Status : [Member] | Replies : 2
can we change the value of the variable when the application is running will it affect thr aplicaion even though it is not stopped




Responses

Posted by: Poster on: 9/9/2008 [Member] Starter

Up
0
Down
If you are running the application through Visual Studio, you can user Intermediate window (Alt + I) and set the variable value as ? var= something and it will affect throughout the application if its scope is application wide.

Shubhashree, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Deeraj on: 9/9/2008 [Member] Starter

Up
0
Down
1. Highlight the variable whose value needs to be modified. Make sure the line of code is not executed.
2. Right click and select Quick Watch.
3. Change the existing value to the new value.
4. Close the Quick Watch Window.
5. Hover the mouse over the variable.
6. The new value should have been reflected.

HTH

Regards,
Dheeraj.


Shubhashree, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response