Issues Debugging Python in ArcGIS Pro 3.0 with Visual Studio 2022

450
1
08-05-2022 03:18 PM
Labels (1)
DavidSolari
Occasional Contributor III

Has anyone found a working setup for script tool debugging with Pro 3.0 and VS2022? I'm following the steps from the usual guide which worked fine with Pro 2.9 and VS2019 but nothing seems to be working right now. I was able to get an exception caught at one point but I haven't been able to replicate it after a dozen attempts. I don't have VS2019 on hand so I can't test if it's just an issue with VS2022 but I'd hope the version of Pro built on the latest .NET release would also support the current Visual Studio.

1 Reply
SerbanMarin
New Contributor II

For me breakpoints don't hit. except when you run a tool the `__init__` method gets hit, but not the `execute`. Were you able to get it working?

0 Kudos