CUDA output on VS 2012 and Nsight Issue

Hi,

I have installed Visual Studio 2012 and Nsight monitor on my laptop which has GTX 860M and i7 processor, running
Windows 8.1. I am able to compile CUDA programs in visual studio, but when I try to execute them by using tab
“Nsight–> Start CUD Debugging”, the output on the command line flashes momentarily and then goes away so quick that I am not able to see the output. Can anybody help me make the output screen stable?

Thanks

The question is not clear to me, but have you tried setting a breakpoint at the end of the application?

add a pause statement or a cin or something like that, that causes program execution to pause before it terminates.

http://stackoverflow.com/questions/4118073/how-to-stop-console-from-closing-on-exit

@txbob

Thanks much. That method worked like a charm.