Keith Rome
Keith Rome
We believe that this is resolved, but needs to be verified through self-hosted build agent
Would there be any value in adding a pre-plan step to capture the initial TF state for the workspace, and then a post-deploy step to capture the final TF state,...
Passing a token to it wouldn't really accomplish much - you still need to inspect the token from the script code and abort (CancellationToken is a cooperative yielding mechanism, not...
`Thread.Abort()` is pre-emptive and a pretty nasty last-ditch thing to do. And it won't give you the expected result if the script spawns any other threads, submits background work using...
You could always use `sys.settrace()` to install your own per-statement trace handler function (from the C# side), and decide whether to let the script continue execution. It's a pretty simple...
@simo9000 try using the 'line' event. That's the event I've used before to suspend running code on "breakpoints" in a custom debugger IDE.