Ross,
With the IIS installed version of DotNetNuke running you can within VS select "Debug" -> "Attach to Process". The window that will appear will show you all running processes on your machine.
You will want to select the process for ASP.NET. If on Windows XP it will be aspnet_wp.exe (or similar). If on Vista it will be w3wp.exe
Now, you will want to set a breakpoint to be able to step through the code, just prior to the error. The reason for this is that if you are allowing DNN to log the error, it isn't unhandled, and will not cause an automatic break with the debugger.
Once you have setup the breakpoint simply go to the module and perform the action that was causing the error, the debugger should take you into your code to start stepping through the code.
__________________
Mitchel Sellers
Microsoft C# MVP, MCITP
Director of Development
IowaComputerGurus Inc.
My blog for .NET and DotNetNuke info
Author of "Professional DotNetNuke Module Programming"
Tech Editor on "Visual Studio 2010 six-in-one" and "Pro C# 4.0"
|