Setting up Visual Studio to Debug Server-Side Methods
Copy
- Open “Microsoft Visual Studio .NET” debugger.
- Choose Tools --> Attach to Processes….
Choose Aras.Server.exe and click ‘Attach'.
Choose Debug --> Exceptions to force the method into the debugger when an exception occurs and choose the check boxes “Thrown”.
- Optionally, you can include the line
System.Diagnostics.Debugger.Break()to force a breakpoint at a specific line in your method.