Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to test console application
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01349592
Message ID:
01349601
Vues:
20
Thanks again, Paul.

>>
>>And I need to figure out what is wrong with it. I created a new Console application but then I try to debug it I obviously get an error. So, my question is how to test it.
>>
>>Also in terms of what is wrong here I guess no error checking is the first thing that is wrong. But what else is wrong?
>>
>
>Sorry, I didn't see the first question. Right-click on the project and select properties. Go to the debug tab. In the command line arguments enter the parameters. Now you can set a breakpoint and run/debug the program.
>
>Besides normal error checking: does the file exist, exceptions thrown while attempting to read the file, the file is locked, it also doesn't really handle cases where there are spaces in the word(s) you're searching for (where you'd normally want to search for the string in quotes).
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform