display driver crashes when debugging sample code,

Hi all
i am trying to debug sample code such as matrixMul and when ever i start cuda debugging i get a message that the display driver has crashed and recovered. i have nsight 3.1 cuda 5.5 gtx 580 driver 326.41.
Please help.
In my code the driver does not crash but debugging is not showing any local variables inside device kernels.

Do you have any breakpoints set before you begin debugging? Does running the sample without Nsight debugging cause any crashes?

By the way, for your own project, did you set your project and project files to generate debug symbols (-G)?