I have a script that is trying to use and SDE database connection and do a few operations, namely
- arcpy.GenerateNearTable_analysis
- arcpy.da.SearchCursor
among other things. While I can set up and debug through these operation in ArcGISPro and Idle, having a project set up in Visual Studio using the same Python environment as in ArcGISPro will fail at these steps. The table names are fully qualified, i.e., <path_to_sde_file>\<Table_name>, and the Idle debugger will execute the line successfully, but Visual Studio debugger typically fails with an indication that it cannot find / open the table.
It is really concerning, as there are other operations in the script where I really need great visualization of the local variables that the VS debug IDE provides, and Idle simply does not.
Any help or input would be greatly appreciated.
Regards,
Jim