www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - [VisualD] No support of Nvidia Nsight

reply Xavier Bigand <flamaros.xavier gmail.com> writes:
Hi,

I am trying to use Nsight with VisualD by it tell me that it can not 
start the program "". It seems that it does not use the right property 
of the project to retrieve the path of my generated binary.

I do not know if it is an issue of VisualD directly or DUB that don't 
correctly generate the VisualD project and miss to fill a field.

Does someone use Nsight and VisualD?

The performance profiler of VS works fine.
Dec 15 2016
next sibling parent reply Jerry <hurricane hereiam.com> writes:
On Thursday, 15 December 2016 at 19:32:19 UTC, Xavier Bigand 
wrote:
 Hi,

 I am trying to use Nsight with VisualD by it tell me that it 
 can not start the program "". It seems that it does not use the 
 right property of the project to retrieve the path of my 
 generated binary.

 I do not know if it is an issue of VisualD directly or DUB that 
 don't correctly generate the VisualD project and miss to fill a 
 field.

 Does someone use Nsight and VisualD?

 The performance profiler of VS works fine.
Been a while since I've used Nsight, but i think all it needs is the executable. Whether it integrates with a visualD project, I'm not so sure. But you can just create an empty project, go into the nsight settings for the project and choose an executable. Then launch the nsight debugger. Wish they provided a stand alone version, it can be a pain to use with Visual Studio, especially if your project isn't a visual studio project.
Dec 15 2016
parent reply Xavier Bigand <flamaros.xavier gmail.com> writes:
Le 15/12/2016 à 21:55, Jerry a écrit :
 On Thursday, 15 December 2016 at 19:32:19 UTC, Xavier Bigand wrote:
 Hi,

 I am trying to use Nsight with VisualD by it tell me that it can not
 start the program "". It seems that it does not use the right property
 of the project to retrieve the path of my generated binary.

 I do not know if it is an issue of VisualD directly or DUB that don't
 correctly generate the VisualD project and miss to fill a field.

 Does someone use Nsight and VisualD?

 The performance profiler of VS works fine.
Been a while since I've used Nsight, but i think all it needs is the executable. Whether it integrates with a visualD project, I'm not so sure. But you can just create an empty project, go into the nsight settings for the project and choose an executable. Then launch the nsight debugger. Wish they provided a stand alone version, it can be a pain to use with Visual Studio, especially if your project isn't a visual studio project.
There is no such option, it really idiot to make a such tool fully integrated to another one without possibility to run it as standalone.
Dec 15 2016
parent reply Jerry <hurricane hereiam.com> writes:
On Thursday, 15 December 2016 at 21:17:56 UTC, Xavier Bigand 
wrote:
 Le 15/12/2016 à 21:55, Jerry a écrit :
 On Thursday, 15 December 2016 at 19:32:19 UTC, Xavier Bigand 
 wrote:
 Hi,

 I am trying to use Nsight with VisualD by it tell me that it 
 can not
 start the program "". It seems that it does not use the right 
 property
 of the project to retrieve the path of my generated binary.

 I do not know if it is an issue of VisualD directly or DUB 
 that don't
 correctly generate the VisualD project and miss to fill a 
 field.

 Does someone use Nsight and VisualD?

 The performance profiler of VS works fine.
Been a while since I've used Nsight, but i think all it needs is the executable. Whether it integrates with a visualD project, I'm not so sure. But you can just create an empty project, go into the nsight settings for the project and choose an executable. Then launch the nsight debugger. Wish they provided a stand alone version, it can be a pain to use with Visual Studio, especially if your project isn't a visual studio project.
There is no such option, it really idiot to make a such tool fully integrated to another one without possibility to run it as standalone.
You might have to make a new project, i'm not sure how the plugin system works. You right click the project in the solution explorer. Select "Nsight User Properties", and then change the Launch Action to external program and choose the executable you want.
Dec 15 2016
parent Xavier Bigand <flamaros.xavier gmail.com> writes:
Le 16/12/2016 à 05:58, Jerry a écrit :
 On Thursday, 15 December 2016 at 21:17:56 UTC, Xavier Bigand wrote:
 Le 15/12/2016 à 21:55, Jerry a écrit :
 On Thursday, 15 December 2016 at 19:32:19 UTC, Xavier Bigand wrote:
 Hi,

 I am trying to use Nsight with VisualD by it tell me that it can not
 start the program "". It seems that it does not use the right property
 of the project to retrieve the path of my generated binary.

 I do not know if it is an issue of VisualD directly or DUB that don't
 correctly generate the VisualD project and miss to fill a field.

 Does someone use Nsight and VisualD?

 The performance profiler of VS works fine.
Been a while since I've used Nsight, but i think all it needs is the executable. Whether it integrates with a visualD project, I'm not so sure. But you can just create an empty project, go into the nsight settings for the project and choose an executable. Then launch the nsight debugger. Wish they provided a stand alone version, it can be a pain to use with Visual Studio, especially if your project isn't a visual studio project.
There is no such option, it really idiot to make a such tool fully integrated to another one without possibility to run it as standalone.
You might have to make a new project, i'm not sure how the plugin system works. You right click the project in the solution explorer. Select "Nsight User Properties", and then change the Launch Action to external program and choose the executable you want.
Thank you a lot it works like a charm.
Dec 16 2016
prev sibling parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 15.12.2016 20:32, Xavier Bigand wrote:
 Hi,

 I am trying to use Nsight with VisualD by it tell me that it can not
 start the program "". It seems that it does not use the right property
 of the project to retrieve the path of my generated binary.

 I do not know if it is an issue of VisualD directly or DUB that don't
 correctly generate the VisualD project and miss to fill a field.

 Does someone use Nsight and VisualD?

 The performance profiler of VS works fine.
I have never used NSight but assume it is some kind of debugger extension to allow debugging code run by the GPU. I suspect integration only works with VC projects, so you could try the new D integration into VC projects, too. Install a recent build, e.g. from https://ci.appveyor.com/project/rainers/visuald/build/job/l1fln91vvimmoxcf/artifacts and just drop your D files into the VC project. Probalby, NSight will not notice you are using a different language ;-)
Dec 16 2016
parent Xavier Bigand <flamaros.xavier gmail.com> writes:
Le 16/12/2016 à 17:53, Rainer Schuetze a écrit :
 On 15.12.2016 20:32, Xavier Bigand wrote:
 Hi,

 I am trying to use Nsight with VisualD by it tell me that it can not
 start the program "". It seems that it does not use the right property
 of the project to retrieve the path of my generated binary.

 I do not know if it is an issue of VisualD directly or DUB that don't
 correctly generate the VisualD project and miss to fill a field.

 Does someone use Nsight and VisualD?

 The performance profiler of VS works fine.
I have never used NSight but assume it is some kind of debugger extension to allow debugging code run by the GPU. I suspect integration only works with VC projects, so you could try the new D integration into VC projects, too. Install a recent build, e.g. from https://ci.appveyor.com/project/rainers/visuald/build/job/l1fln91vvimmoxcf/artifacts and just drop your D files into the VC project. Probalby, NSight will not notice you are using a different language ;-)
Thank you, I'll certainly take a look to the next version of VisualD.
Dec 16 2016