I have an application throwing an exception when it starts. I catch
the exception and write this to the event log. The app continues and
completes loading. But now, of course, it doesn't function properly.
For some reason, there isn't an included line number in the exception.
The exception gives the class and method plus that it's a null
reference but no line number.
The app is on MachineB (no VS.NET) and I'd like to attach remotely from
MachineA (VS.NET) to debug it. The problem is the exception will have
already thrown by the time I find the process and attach. I need to
attach before any code executes. I could rebuild the EXE to display a
message box first thing. This would load the process but stop code from
executing until I attach.
Any suggestions?
Thanks,
Brett