Application_Error and debug mode

J

John A Grandy

In VS05 , I have a breakpoint set on a lineo f code in the
Application_Error() event ....

In the Page_Load() handler of the default page , I've added some code that
triggers unhandled exception

int i;
int j = 1;
int k = 0;

k = j / i;

VS05 immediately displays the error in a popup (break or continue). So, I
never hit the breakpoint in Application_Error ...

My tests in runtime mode are not showing that my Application_Error() code is
writing to the log

Is there a way in VS05 to hit a breakpoint in Application_Error() ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
DewittMill
Top