473,408 Members | 1,960 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,408 software developers and data experts.

How to Test and Debug an ASP.NET 2.0 Application

Hi all ,
I am using dotnet 2.0 asp.net website,in that after specifying breakpoint if I am click any one the following means it is not getting debugged wat to do,

1. Start Debugging button in the Standard toolbar

2.Pressed F5

3. Debug->Start command


Regards
Selvamariappan.c
Feb 16 '09 #1
4 1203
Vkas
78
use F9/F10
button and


where u are coding always use!
TRY

(MY ALL CODE)

Catch ex As Exception

Response.Write(ex.Message)


this will help u a lot hopefully
Feb 16 '09 #2
kenobewan
4,871 Expert 4TB
Your omnipresence has served you well Vkas :).

Please don't confuse debugging with testing. Testing is the thing that your customer refuses to take part in after you successfully debug and present them with the beta version of your lovingly produced app lol.
Feb 16 '09 #3
Vkas
78
my mistake!
truly! never accepted that kind of cool reply ;)
ok
i got it in a pretty Good way
try to absorb your kind sentences in my dump mind
try to be careful
Feb 18 '09 #4
Frinavale
9,735 Expert Mod 8TB
@selvamariappan
Hi Selvamariappan,
I don't understand what your problem is, could you please explain it again in more detail? Thanks :)



@Vkas
Two quick things about this suggestion...
Firstly be careful when catching general exceptions. You don't want to gobble them up...if you use the code elsewhere, and something goes wrong, then the code calling your code will have no clue as to what went wrong. It's better to throw general exceptions and only catch the ones that you Know could be thrown and that your code can handle appropriately. This way calling code can handle any problems that your code is not expecting.

If your web application throws an exception that is not caught, details about the exception is recorded in the Windows Event Log (under Application). You could look into better ways of handling exceptions for your web application using the web.config and using Global.asax

The second thing is that Response.Write() will make your HTML code invalid. See my response here for more information on this topic.
Feb 18 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: MArk B. | last post by:
I'm trying to user ACT and it's not creating a debug log so I can, ah, debug. The log file isn't even being created. Yes, I set the folder and enabled loggin in the project properties dialog. ...
0
by: cpavon | last post by:
Hello everyone, I am fairly new to MACT, I am currently trying to parse the oResponse.Body to retrive a dynamic values...store in an array and then randomly post those values. Does anyone...
4
by: Benne Smith | last post by:
In our company, i have three servers; 1) a development server (mine only - here i make daily changes and test my stuff) 2) a test server (for the users to test milestone builds - changes weekly)...
7
by: Wysiwyg | last post by:
Is there any way besides adding a specific debug command line argument for the project to tell if an application is running in debug mode? Thanks! Bill
4
by: Stephen Miller | last post by:
Hi, I am running v1.1.4322 on Win2K server and unable to debug a ASP.Net application running locally, using a full URL (ie www.mysite.com). When I hit F5, I get the following error message: ...
12
by: nospam | last post by:
All the documentation says that leaving an ASP.NET application in debug mode has a big performance hit. I can't detect any difference between debug and non-debug modes. Am I missing something or is...
27
by: Josh | last post by:
We have a program written in VB6 (over 100,000 lines of code and 230 UI screens) that we want to get out of VB and into a better language. The program is over 10 years old and has already been...
3
by: Tom | last post by:
I'm building a web application using VS 2005. This application uses Windows authentication to 'authenticate'. However, when I test it (debug) via the VS 2005 built-in test server, it doesn't work....
176
by: nw | last post by:
Hi, I previously asked for suggestions on teaching testing in C++. Based on some of the replies I received I decided that best way to proceed would be to teach the students how they might write...
0
by: sathyguy | last post by:
when i type the below in my RHEL AS 4's Firefox 1.5 http://appsworld.ncc.com:7777/forms/...&form=test.fmx iam getting the below error... The requested URL /forms/frmservlet was not found on...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.