Debugging a project involving Excel causes it to get stuck in the background

The project I’m working in involves messing with Excel files, creating several ones from a set of data.

While debugging the app, either after I press the “stop” button to end the execution on purpose or because an error happened, many times (most of them?), when I run it again in “debug” mode, when it comes to the section when it creates and fills the Excel file, execution stays in a state that does nothing. Pressing the “pause debug” button does nothing. I stop execution. Sometimes that doesn’t even work either. The green icon of the… orchestrator? stays there. I go to task manager and manually kill it, then I can stop the execution and start it again. But it won’t pass the Excel section, unless I also kill an Excel process that stays also running in Task Manager.

Hi @pere ,

Could you maybe check whether Pop-ups are appearing from the Excel ? It might not be put front to the Desktop screen, you may need to search for it within the opened applications or by using Alt+Tab.

Pop-ups from the Excel might be the reason the Process is getting stuck.

Nope, that’s not the case.