[Debugger] simplified some code
[Debugger] simplified some code

joj/debugger-libs,mono/debugger-libs,joj/debugger-libs,Unity-Technologies/debugger-libs,mono/debugger-libs,Unity-Technologies/debugger-libs