jimingham wrote: Also, if you are going to hook creation, you should also hook destruction, shouldn't you? Whatever accounting you are doing for a debugger's once it exists might need to be torn down when that debugger goes away. https://github.com/llvm/llvm-project/pull/111206