Search code examples
windowsdebuggingwinapiwindbggflags

Why does Loader Snaps not work when attaching to a process?


When I configure GFlags to show loader snaps on an image MYEXE.exe and run the executable from windbg I get loader snaps output in the debug window. But when I use windbg to attach to the process already running I do not, even though I enabled loader snaps before the process was started. How can I get loader snaps to work when attaching to a process that I do not want to start with windbg?


Solution

  • I suspect that this is by-design. What's your scenario? Do you know about sxe ld?