Hi Dojo,
I'm trying to debug a script launched from inside a LCA that shows a confirmation popup (interactive part) and executes code in the background after confirmation. I followed the steps mentioned in dnSpy | DataMiner Docs, but when I try to trigger the script from the LCA, the confirmation popup doesn't popup. Which configurations do I need to apply to make debugging possible?
Hi Jens,
I’ve run into something similar in the past. What was happening is that the SLAutomation process had accumulated a very large number of loaded assemblies. This caused significant delays in execution, making it look like the confirmation popup wasn’t appearing, while in reality the script was just taking a long time to reach that point.
Restarting the process before starting your debugging session typically resolves this, as it clears the loaded assemblies and removes the delay. So I would recommend doing a clean restart and then attaching dnSpy again before triggering the script.