dotBunny / VSCode

Unity Visual Studio Code Integration
MIT License
673 stars 180 forks source link

Issue with Unity Debugger #115

Closed NalinNexus closed 7 years ago

NalinNexus commented 8 years ago

Hi

I just started seeing this issue in the last week or so when I try and debug in Unity.

If you have any ideas that would really help!

thanks

Nalin

error while processing request 'setBreakpoints' (exception: Cannot perform member binding on null' value) Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot perform member binding onnull' value at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object) at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](System.Runtime.CompilerServices.CallSite site, System.Dynamic.T0 arg0) <0x1145f04d0 + 0x005b5> in :0 at OpenDebug.Utilities.ExpandVariables (System.String format, System.Object variables, Boolean underscoredOnly) <0x1146c3a90 + 0x001e6> in :0 at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,System.Type,string,object) at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](System.Runtime.CompilerServices.CallSite site, System.Dynamic.T0 arg0, System.Dynamic.T1 arg1, System.Dynamic.T2 arg2) <0x1145ea730 + 0x00643> in :0 at OpenDebug.Responder.SetBody (System.Object body) <0x1146c02e0 + 0x0033a> in :0 at UnityDebug.Program+cAnonStorey0.<>m0 (System.String command, System.Object args, IResponder responder) <0x1145d9a40 + 0x00ac9> in :0 UnityDebug: Attached to Unity process 'Unity Editor (Unity)' (2614)

rcolinray commented 8 years ago

I am also seeing this error. I am on macOS 10.12 Beta (16A294a), Unity 5.4.0f3, and VSCode 1.4.

reapazor commented 8 years ago

Was this after a VSCode update?

[i haven't seen it locally, but it is interesting]

kikutano commented 7 years ago

Same problem here, with last version of Unity 5.5.0f3 and last version of VSCode. The breakpoint turns gray when i start the game and if i try to active and deactive breakpoints Visual Studio Code tell me "error while processing request 'setBreakpoints' (exception: Cannot perform member binding on `null' value)".

I'm on a Mac.