when open dump file in windbg, looks pdb files in c:\code\appv1
folder
when open exe file directly in windbg, looks pdb files in c:\code\appv2
folder.
this driving me crazy because in both cases, windbg debugging same exe @ c:\myapp\app.exe
the c:code\appv1
make sense search in, path pdb files generated exe why search in c:\code\appv2
has no connection whatsoever dump file or exe?
i did extensive digging this, created demo project , simulated crash , tried various combinations. answer dump file seems have overriding effect on executable when comes default search paths (pdb).
here how can reproduce scenario:
- create project called app1 @ c:\code\app1 , build it.
- copy above project , rename main folder app1clone , build it, in c:\code\app1clone
now first copy app1 c:\test folder , run it. crash , create dump file.
now copy app1 app1clone folder c:\test folder , run it. crash , create dump file.
now both dump files linked c:\test\app1.exe if wrong app1.exe present (=search paths didn't match) apparently pick paths supposedly stored in dump file. don't know if dump files store path appears case based on experimentation.
Comments
Post a Comment