473,385 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

debug in real time

is there a program that allows me to debug a webiste written in c# or vb in
real time?
It would provide me with the list of resources that the website is using.
(varaibles name, type, size, value...)
ie. see what variables are declared and what are the assign values as people
visit the website?

this would really help me to optimize my code.

thanks,
Aaron
Nov 18 '05 #1
3 1672
You can do this in Visual Studio .NET but debugging takes complete control
of ASP.NET. In other words, not a nice thing to do on a production site -
you'd be the only user.

Anyway, you'll need to attach to the process on the remote computer. (See
Debug > Processes > Attach)

For a production site you'd want to write trace data into an event log and
then analyze the results.

http://msdn.microsoft.com/library/de...classtopic.asp

Ken

"Aaron" <ku*****@yahoo.com> wrote in message
news:us**************@TK2MSFTNGP10.phx.gbl...
is there a program that allows me to debug a webiste written in c# or vb
in real time?
It would provide me with the list of resources that the website is using.
(varaibles name, type, size, value...)
ie. see what variables are declared and what are the assign values as
people visit the website?

this would really help me to optimize my code.

thanks,
Aaron


Nov 18 '05 #2
"Aaron" <ku*****@yahoo.com> wrote in
news:us**************@TK2MSFTNGP10.phx.gbl:
is there a program that allows me to debug a webiste written in c# or
vb in real time?


Visual Studios .NET will allow you to do this.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 18 '05 #3
Hi Aaron:

As Ken pointed out running the debugger on a production site is not a
nice thing to do. Instead of looking at the varialbes of individual
users, consider making measurements of aggregate statistics with
perfmon.

There is some good, detailed information in the following documents:

Measuring .NET Application Performance
http://msdn.microsoft.com/library/de...netchapt15.asp

How To: Use Custom Performance Counters from ASP.NET
http://msdn.microsoft.com/library/de...nethowto12.asp

Improving ASP.NET Performance
http://msdn.microsoft.com/library/de...nethowto12.asp

The rest of the guide is a good read too.

--
Scott
http://www.OdeToCode.com


On Sun, 22 Aug 2004 14:58:46 -0700, "Aaron" <ku*****@yahoo.com> wrote:
is there a program that allows me to debug a webiste written in c# or vb in
real time?
It would provide me with the list of resources that the website is using.
(varaibles name, type, size, value...)
ie. see what variables are declared and what are the assign values as people
visit the website?

this would really help me to optimize my code.

thanks,
Aaron


Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Aaron | last post by:
is there a program that allows me to debug a webiste written in c# or vb in real time? It would provide me with the list of resources that the website is using. (varaibles name, type, size,...
3
by: Stephanie | last post by:
I have a problem that I am trying to solve. We have a huge product with a whole lot of ASP and VB code. VB code is all ActiveX dlls which are used by ASP app. When I attempt to add features or fix...
25
by: Jeff | last post by:
Use the MS Script Editor included free with MS Office 2002 and above, for debugging Internet Explorer (IE). This subject is of great interest to many JS developers, as there is no obvious, low...
0
by: James | last post by:
Hoo WinTail v2.11 Hoo WinTail is a real-time file viewing Windows utility like the Unix tail -f utility. It can be used to view the end of a growing file. It is ideal for viewing application...
6
by: Peter Afonin | last post by:
Hello: I'm running Windows server 2003. I've never had any problems with debugging, but now I cannot debug ANY of my projects. I'm getting this error: "Error while trying to run project:...
7
by: JR | last post by:
VS2005 Team Developer edition (final) developing a Windows Application When in debug mode if you make any changes to the application settings or project properties, the next time I attempt to...
22
by: semedao | last post by:
Hi , I am using asyc sockets p2p connection between 2 clients. when I debug step by step the both sides , i'ts work ok. when I run it , in somepoint (same location in the code) when I want to...
3
by: =?Utf-8?B?ZWxhZGxh?= | last post by:
Hi. I was wondering if it was possible to give a variable different values depending on if the code was compiled in debug or release? i.e. if the code was compiled in debug: string...
2
by: =?Utf-8?B?Sm9obiBT?= | last post by:
Hi, I'm trying to follow Lab1 of the WF Hands On Labs. Having created the project and set a breakpoint as per instructions, I press F5 to compile and run the project. The instructions say...
3
by: Dave Cullen | last post by:
It seems I have fallen victim to some strange behavior in VS2005 where it refuses to allow breakpoints to be hit during debug in my dll project. The breakpoint ball says, "breakpoint will not...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.