Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InvalidOperationException: No process is associated with this object. #55

Closed
sentry-io bot opened this issue Sep 30, 2018 · 2 comments
Closed

InvalidOperationException: No process is associated with this object. #55

sentry-io bot opened this issue Sep 30, 2018 · 2 comments
Assignees
Labels

Comments

@sentry-io
Copy link

sentry-io bot commented Sep 30, 2018

Synchronization issue between the debugger and linqpad during event dispatch

Sentry Issue: LINQBRIDGEVS-8

InvalidOperationException: No process is associated with this object.
  Module "BridgeVs.DynamicVisualizers.DynamicDebuggerVisualizer", line 50, in SendInputToProcess
    Void SendInputToProcess(System.Diagnostics.Process)

Error while sending inputs to linqpad
@codingadventures
Copy link
Owner

code to fix:

csharp var linqpad = TopLevelWindowUtils.FindWindow(wh => wh.GetWindowText().Contains("LINQPad")); var intPtr = linqpad.RawPtr; ShowWindowAsync(intPtr, 1); SetForegroundWindow(intPtr); PostMessage(intPtr, WmKeydown, VkF5, 0); Console.ReadLine();

@codingadventures codingadventures added this to the LINQBridgeVs 1.4.7 milestone Oct 9, 2018
@codingadventures
Copy link
Owner

fixed in the next release

codingadventures added a commit that referenced this issue Oct 12, 2018
adds window handle extension source code
adds XmlSerializer as a general serializer
Renames DefaultSerialiazer to BinarySerializer
moves the namespace from Location to Options
removes from the linqpad script generation the typed cast
removes sentry exception capture from the assembly find helper
adds to SInjection the disposable pattern
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant