I found two posts here:
Quotes:
1. Start NX
2. Start VS with the project you want to debug
3. Create one or more break points in the project
4. In VS choose Debug->Attach to Process...
5. Choose ugraf.exe from the list of processes.
6. In NX start running your project in whatever way you want (eg File->Execute->NX Open)
(after i follow step 6, NX asks for dll file, which dll file to pick?
7. When one of the breakpoints gets reached NX will hang while you step through the code.
8. When you want to stop debugging, in VS choose Debug->Detach All
Quotes:
1. Start NX
2. Start VS with the project you want to debug
3. Create one or more break points in the project
4. In VS choose Debug->Attach to Process...
5. Choose ugraf.exe from the list of processes.
6. In NX start running your project in whatever way you want (eg File->Execute->NX Open)
(after i follow step 6, NX asks for dll file, which dll file to pick?
7. When one of the breakpoints gets reached NX will hang while you step through the code.
8. When you want to stop debugging, in VS choose Debug->Detach All