Search code examples
c#mvvmdotvvm

How to disable throwing DotvvmInterruptRequestExecutionException?


I am experimenting with DotVVM framework and sometimes Visual Studio throws a DotvvmInterruptRequestExecutionException.

I know that this exception is used to interrupt execution of the current request to be able to redirect. However, I would like to stop this exception being thrown.

I know that it is possible, I just can't find out how to do it.


Solution

  • We have written a blog post which explains, why the exception is being thrown and how can you set Visual Studio not to break on this exception.

    http://www.dotvvm.com/blog/1/Why-I-am-getting-the-DotvvmInterruptRequestExecutionException-