Re: How do I debug break in case of assertion failure?
"Igor Gatis" <[email protected]> Wed, 6 Aug 2008 18:33:31 -0700
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
I'm wondering if Assert.XXX() functions call System.Diagnostics.Debugger.Break() if the user wants to. Is such mechanism available? On Wed, Aug 6, 2008 at 5:27 PM, Charlie Poole <[email protected]>wrote: > If you use Visual Studio, you can tell it to break as soon as an > AssertionException > is thrown. Other IDEs will probably have similar functionality. > > Charlie > > ------------------------------ > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Igor Gatis > *Sent:* Wednesday, August 06, 2008 1:38 PM > *To:* [email protected] > *Subject:* [Nunit-users] How do I debug break in case of assertion > failure? > > When an assertion fails, I'd like to start my preferred debugger. How do > I enable that? > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nunit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nunit-users