Select to view content in your preferred language

C# Debugging ArcGIS Pro 3.0 (Queued Task)

412
0
02-24-2023 06:25 AM
Labels (1)
bland
by
New Contributor

Hello,

I've recently upgraded from ArcGIS Pro 2.8 to 3.0.  When debugging in 2.8, breakpoints inside a QueuedTask would give an error along the lines of "Wrong thread, click to force a refresh." I would be able to force a refresh and see whatever data I was trying to debug.

In 3.0, this force refresh option is not available. Instead, I see "Evaluation is not allowed: The thread is in stack overflow state."

Note that none of the underlying code changed outside of adding a few "Ex" to builders and "Type" to enums values.

Is this expected? The ability to easily debug inside a QueuedTask was fantastic in 2.8, I hope there is a workaround for 3.0.

Thanks!

0 Kudos
0 Replies