NSIGHT crash debugging

Hello! I am using nsight 5.6.0.18146 with vs2017 community. I have an application written on c# with wpf technology and it uses opengl 4.5 core.
It works when I launch it without nsight, but when I try to debug it i get the message that nvidia nsight has unexpectedly quit while attached to the process.
OS: windows 10
Hardware: GTX 1050 ti
Driver version 397.93
Thank you.

Hi,

I tried SharpGL WPF Sample: CelShadingSample on a local Nsight build, didn’t get a crash. Launch and capture work fine.