Click to See Complete Forum and Search --> : Pausing a web application


macupryk
November 3rd, 2005, 11:52 PM
:sick: I need to view variables or trace I am having problems debugging over a server

I need to look at the following:

Response.Write(Session("ssUserName"))
Response.Write(Session("ssUserAuthority"))
Response.Write(Session("ssUserBU"))
Response.Write(Session("ssNtUser"))
ch = getch() pause here I am not sure how to do this in vb.net.
also should I use Response.Write to trace my variables?

Any help would be appreciated.

Thanks

HanneSThEGreaT
November 4th, 2005, 02:33 AM
:sick: I need to view variables or trace I am having problems debugging over a server
Have a look at the Autos Window (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/html/vcurfAutosWindow.asp)


I need to look at the following:

Response.Write(Session("ssUserName"))
Response.Write(Session("ssUserAuthority"))
Response.Write(Session("ssUserBU"))
Response.Write(Session("ssNtUser"))
ch = getch() pause here I am not sure how to do this in vb.net.


Create a Break point, by clicking next to the line (where you want to halt execution) in the grey margin of the code editor.