1

Closed

Create Watch for PDB Files

description

When ETViewer is running with a PDB file ( from VS output directory), than new Link is not possible. Maybe it is possible
to open Open PDB Files in "File Share Read Mode", so a linker can create a new one. To detected changed PDB files, create a file
watch. So a new start from ETViewer is not required and internally all is updated.
Closed Jan 3 at 8:29 AM by Ellery_Pierce
0.9 has this watch

comments

jmartin wrote Sep 10, 2011 at 6:11 PM

Thanks for your feedback :)

Can you provide more info on the issue? SO? VS version?
I have tested this quite a bit (Vista) and cannot reproduce it. PDB files are only read when symbols are loaded and closed inmediatelly, and they are open with FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE, maybe its a timing issue.

Can you try to set the PDB reload configuration from Auto to Ask/Disabled? If you disable the automatic reload you can reload them manually by right clicking it in the tree view.

wrote Sep 10, 2011 at 6:13 PM

jmartin wrote Sep 10, 2011 at 6:36 PM

I have tried reproducing it in XP, no luck so far.

jmartin wrote Sep 11, 2011 at 3:05 AM

I can't reproduce the issue, i have tried :

XP and Vista
Simple and quite big User mode apps using VS 2003 and VS 2008
Simple Drivers (i do not have big ones right now)

jmartin wrote Sep 11, 2011 at 3:19 AM

"To detected changed PDB files, create a file watch. So a new start from ETViewer is not required and internally all is updated."

In ETViewer 0.8, pdb files can only be reloaded manually by right-clicking on the tree and selecting Reload Provider/Reload all providers.
This can still be done in ETViewer 0.9, but it also implements a file watch to automatically reload pdb and source files.
This watch is enabled by default but can be disabled in Edit->Settings dialog.
I think that in fact, is this watch what is causing the issue.

wrote Feb 13, 2013 at 11:14 PM

wrote Jan 3 at 8:29 AM