UiPath / CoreWF

WF runtime ported to work on .NET 6
MIT License
1.12k stars 216 forks source link

add IRedirectDebugTarget #325

Closed mihainradu closed 3 weeks ago

mihainradu commented 4 weeks ago

This will be used to facilitate identifing objects that are more meaningfull in a designer as a breakpoint target

eg: in a Diagram/flow node an implementation/runtime activity that implements this interface will trigger the tracker/debuger then the debugger will do the check:

if (targetObj is IRedirectDebugTarget redirection)
   targetObj = redirection.Target

   ...
     return GetIdRef(targetObj)