I have created a python script in VS, now I want to attach this file to NX like in c# we do by attach to process. Can anyone help me how can I attach .py file to NX and debugg it.
Are you using the PTVS plugin in VS?
If so, edit the project properties
Once a break point is set and NX is running, pick Debug, Attach to Process
Run the Python script you want to debug from NX using “Journal Manager”. If there are multiple scripts, run the script which you added as startup script in Python project creation.
Yes, I am using PTVS plugin.
while attching I am getting an error "An operationis not legal in the current state."
Find the attached error message