Select to view content in your preferred language

Debugging is dead? EditOperation.Execute() the only point for catching errors?

234
0
12-10-2024 05:09 PM
MarkMindlin_idea
Regular Contributor

An editing model in ArcGIS Pro SDK says that EditOperation.Execute method is the only point where an actual work done. As a result, a developer writing hundreds of lines of code between new EditOperation() and Execute()  has no indication in debug mode what line has a bug/throws an exception.

Question: how to get exact line number of exceptions occurred? Analysing results of method Execute() we know it returns false and has some info in "ErrorMessage". What else?

 

https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic9482.html

.Net 8, C#

 

 

0 Kudos
0 Replies