Store the debug info structure on the thread stack.