$ winedbg --gdb --no-start notepad.exe 0010:0011: create process 'C:\windows\system32\notepad.exe'/0x110660 @0x7ec859b0 (0<0>) 0010:0011: create thread I @0x7ec859b0 $ winedbg notepad.exe WineDbg starting on pid 0010 0x7ee80da9: movl %edi,0x0(%esp) Wine-dbg>cont couldn't load main module (2) 0x7ee69da9: movl %edi,0x0(%esp) Wine-dbg>cont ---- At this point notepad.exe starts running. I quit notepad... ---- Process of pid=0010 has terminated Process of pid=0012 has terminated Wine-dbg>