Instrumentation techniques for layered execution environments door