How to debug a DEE not triggered via a GUI action

Hi,

We recently tried to debug a DEE responsible to send notifications on a resource state change (FHResourceStateChangesNotificationProcess - and also a new DEE listening to similar ActionGroups).

To enable recognizing the state changes we added a new ActionGroup - and also listen to existing ones:
BusinessObjects.Resource.AdjustState.Pre
BusinessObjects.Resource.AdjustState.Post

The DEE is correctly triggered when changing the states. And also sends out notification etc.

But when trying to debug the DEE by setting breakpoints in VS … this is ignored.

Executing the DEE via the Website it correctly stops at the breakpoint.

That DEE is also triggered via listening to BusinessObjects.Resource.LogEvent.Post.
When changing a resource state via GUI - the breakpoint is also triggered.

SO: when triggered by a nongui event, it seems to ignore the set breakpoints.

Is this something currently not working in the MES - or a limitation of c# (and the way the DEEs are executed)?

Running MES version is 9.1.8.

Regards,

Ronny