Setting up Visual Studio to Debug Server-Side Methods

  1. Open “Microsoft Visual Studio .NET” debugger.
  2. Choose Tools --> Attach to Processes….

  1. Choose Aras.Server.exe and click ‘Attach'.

  2. Choose Debug --> Exceptions to force the method into the debugger when an exception occurs and choose the check boxes “Thrown”.

  3. Optionally, you can include the line System.Diagnostics.Debugger.Break() to force a breakpoint at a specific line in your method.