I am running a sample project "AssemblyViewer" provided in the NXOPENSAMPLEAPPLICATION in C# using Visual Studio.
I am trying to debug the Visul Studio Solution. Below are the steps i followed(Regular approach) to debug.
When i Run the dll (using Ctrl + U) it does not hit the break points. The application runs. The pdb file is available in the same location along with the dll.
Am i following the right method or Is there anything i am missing ?
Have you tried putting a break point just after the entry point (where NX calls your code)?
Try writing a line to the syslog at the same spot (or before/after it). Then check in the syslog those lines are being written.
Are you using the correct version of Vis Studio for your version of NX?
(You did not state what version of NX you are using!)
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled
You should follow versions:-
NX7.5 is compatible with VS2008, NX8.5 with VS2010, code will be susseccfuly built up if you will not follow compatibility, but it wil not hit breakpoints during debug i.e. you will not be able to debug
I have struggeled a lot running VS2010 code in NX75,
One thing i want to ask is that code written in VS2013? You can change the code version by editing .sln file.
Microsoft Visual Studio Solution File, Format Version 11.00.
Visual Studio 2010.
Microsoft Visual Studio Solution File, Format Version 10.00. (I)
Visual Studio 2008. (II, optional)
So VS2010 will change to VS2008 & will work with NX75