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?
Asked
Active
Viewed 1,604 times
2 Answers
2
I suspect that this is by-design. What's your scenario? Do you know about sxe ld
?

Ana Betts
- 73,868
- 16
- 141
- 209
-
I did not know about sxe ld until now, this is useful. – insipid Feb 05 '10 at 20:30
0
Odd, this is working fine for me. I tested this out using notepad.exe on my 32 bit Win7 box. I can properly see loader snaps both when launching notepad under windbg, as well when attaching to a fresh notepad process afterwards. When attaching to the process, you will have to trigger it to "do something." In my case, once I attached windbg to notepad, I had to click on File->Open.

nithins
- 3,172
- 19
- 21