[Mono.Debugging] Added some sanity checking on some public APIs