microsoft/WinDbg-Samples

Pass SynchronizationContext to Dbgx.DebugEngine

ibebbs opened this issue · 2 comments

Hi,

I'm loving the 'Microsoft.Debugging.Platform.DbgX' package and seeing some early successes from it's use.

One frustration however is the use of the SynchronizationContext.Current static value. Would it be possible to pass the SynchronizationContext to use into the DebugEngine constructor? This would simplify it's use and facilite synchronization with other frameworks such as RX.

BTW, I'd happily submit a PR for this but Microsoft.Debugging.Platform.DbgX doesn't seem to be open-source (links from the Nuget page direct to Microsoft.Windows.SDK.Contracts).

Thanks,
Ian

Yes, I can update that. Thanks for the feedback!

The plan is to open source DbgX at some point, but I don't know when.

This is in PR now, and should make it into the next release.