Fog Creek Software
Discussion Board




Welcome! and rules

Joel on Software

Break to debugger... "__asm int 3;" for C# ???

For a release mode C++ program, I could place

__asm int 3;

in the C code, and the debugger would open when the program executed that instruction.

Is there an equivelent in the C# world?

This is for release mode code, so please resist the urge to tell me, F9 for a breakpoint...

Zumbas
Sunday, November 14, 2004

Try System.Diagnostics.Debugger.Break();

Joe
Sunday, November 14, 2004

*  Recent Topics

*  Fog Creek Home