AnsweredAssumed Answered

How can I debug a script tool that is using multiprocessing?

Question asked by KPerri-esristaff Employee on May 20, 2019
Latest reply on May 20, 2019 by ctognelaesriaustralia-com-au-esridist

I have a script tool that does a lot of processing on large amounts of data and needs to split the work between multiple CPUs to be efficient; however, I am having trouble understanding how I can debug the work that is happening within each CPU. It seems that arcpy.AddMessage does not work inside multiprocessing and I can't seem to attach my debugger to the command window that is opened when I run the tool. When I try attaching none of my breakpoints are hit and it says no symbols have been loaded.