Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / March 2005

Tip: Looking for answers? Try searching our database.

Raise exception in command window

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Emil Astrom - 22 Mar 2005 00:26 GMT
Hi!

Is there a way to raise a given exception during debugging in VS 2003, for
example by typing a command the command window? This would be very useful
but I have not yet found a way to do it.

Cheers,

Emil
gyurisc - 23 Mar 2005 20:40 GMT
What if you create a method what throws the exception and call that method
from the command window?
I am wondering how thos would be userfull, can you eexplain it to me,
please?

Cris
> Hi!
>
[quoted text clipped - 5 lines]
>
> Emil
Emil Astrom - 24 Mar 2005 22:43 GMT
It would be very useful for debugging and testing different error conditions
without explicitly writing erroneous code. And trying not to forget removing
it ;-)

Thanks for the idea. I'll try it!

Regards,

Emil

> What if you create a method what throws the exception and call that method
> from the command window?
[quoted text clipped - 11 lines]
>>
>> Emil

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.