Release PDB

break into windbg and type
“.reload -u”

sean

Ken Galipeau wrote:

When I try to build during debugging, the link will fail because the
windbg has the PDB in use. Is there a way to have windbg release the file?

Thanks,

Ken


You are currently subscribed to windbg as: xxxxx@stg.com
To unsubscribe send a blank email to %%email.unsub%%

I tried “.reload -u”, windbg replied:
“Unloaded all modules”
I then did the compile and it still says the “.sys” file is in use.

Ken

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Sean Bullington
Sent: Thursday, May 16, 2002 3:48 PM
To: Kernel Debugging Interest List
Subject: [windbg] Re: Release PDB

break into windbg and type
“.reload -u”

sean

Ken Galipeau wrote:

When I try to build during debugging, the link will fail because the
windbg has the PDB in use. Is there a way to have windbg release the file?

Thanks,

Ken


You are currently subscribed to windbg as: xxxxx@stg.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@legato.com
To unsubscribe send a blank email to %%email.unsub%%

.reload /u driver_name
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Ken Galipeau
Sent: Thursday, May 16, 2002 3:48 PM
To: Kernel Debugging Interest List
Subject: [windbg] Release PDB

When I try to build during debugging, the link will fail because the
windbg has the PDB in use. Is there a way to have windbg release the file?

Thanks,
Ken

You are currently subscribed to windbg as: xxxxx@relicore.com
To unsubscribe send a blank email to %%email.unsub%%

I’ve seen this problem as well. It appears to be intermittent and new with
the 6.0.7 version of Windbg. I exit Windbg and the file is unlocked.

  • Steve -

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, May 16, 2002 4:35 PM
To: Kernel Debugging Interest List
Subject: [windbg] Re: Release PDB

I tried “.reload -u”, windbg replied:
“Unloaded all modules”
I then did the compile and it still says the “.sys” file is in use.

Ken

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Sean Bullington
Sent: Thursday, May 16, 2002 3:48 PM
To: Kernel Debugging Interest List
Subject: [windbg] Re: Release PDB

break into windbg and type
“.reload -u”

sean

Ken Galipeau wrote:

> When I try to build during debugging, the link will fail because the
> windbg has the PDB in use. Is there a way to have windbg
release the file?
>
>
>
> Thanks,
>
> Ken
>
> —
> You are currently subscribed to windbg as: xxxxx@stg.com
> To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@legato.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@cognex.com
To unsubscribe send a blank email to %%email.unsub%%

I’m sorry to say that I’m still using 4.0.11. IT also takes exiting to
unlock the .sys file.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Whitman, Steve
Sent: Thursday, May 16, 2002 5:24 PM
To: Kernel Debugging Interest List
Subject: [windbg] Re: Release PDB

I’ve seen this problem as well. It appears to be intermittent and new with
the 6.0.7 version of Windbg. I exit Windbg and the file is unlocked.

  • Steve -

-----Original Message-----
From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Thursday, May 16, 2002 4:35 PM
To: Kernel Debugging Interest List
Subject: [windbg] Re: Release PDB

I tried “.reload -u”, windbg replied:
“Unloaded all modules”
I then did the compile and it still says the “.sys” file is in use.

Ken

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Sean Bullington
Sent: Thursday, May 16, 2002 3:48 PM
To: Kernel Debugging Interest List
Subject: [windbg] Re: Release PDB

break into windbg and type
“.reload -u”

sean

Ken Galipeau wrote:

> When I try to build during debugging, the link will fail because the
> windbg has the PDB in use. Is there a way to have windbg
release the file?
>
>
>
> Thanks,
>
> Ken
>
> —
> You are currently subscribed to windbg as: xxxxx@stg.com
> To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@legato.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@cognex.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@legato.com
To unsubscribe send a blank email to %%email.unsub%%

More than likely you have a pdb in use that you are unaware. I consistently
debug up to three device drivers in a suite I am developing and have run
into this problem across all versions of WinDbg that use PDB files. The
solution, in almost all instances, is to run !reload -u my driver for each
suspect driver. The same trick works for the test application if I have used
WinDbg to enter it. I say “almost” cuz’ when things really go bump in the
night … I hit the magic button that cures everything in debug land —
RESET.


Gary G. Little
xxxxx@broadstor.com
xxxxx@inland.net

“Ken Galipeau” wrote in message news:xxxxx@windbg…
>
> I’m sorry to say that I’m still using 4.0.11. IT also takes exiting to
> unlock the .sys file.
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Whitman, Steve
> Sent: Thursday, May 16, 2002 5:24 PM
> To: Kernel Debugging Interest List
> Subject: [windbg] Re: Release PDB
>
>
> I’ve seen this problem as well. It appears to be intermittent and new
with
> the 6.0.7 version of Windbg. I exit Windbg and the file is unlocked.
>
> - Steve -
>
>
> > -----Original Message-----
> > From: Ken Galipeau [mailto:xxxxx@legato.com]
> > Sent: Thursday, May 16, 2002 4:35 PM
> > To: Kernel Debugging Interest List
> > Subject: [windbg] Re: Release PDB
> >
> >
> > I tried “.reload -u”, windbg replied:
> > “Unloaded all modules”
> > I then did the compile and it still says the “.sys” file is in use.
> >
> > Ken
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com]On Behalf Of Sean Bullington
> > Sent: Thursday, May 16, 2002 3:48 PM
> > To: Kernel Debugging Interest List
> > Subject: [windbg] Re: Release PDB
> >
> >
> > break into windbg and type
> > “.reload -u”
> >
> > sean
> >
> > Ken Galipeau wrote:
> >
> > > When I try to build during debugging, the link will fail because the
> > > windbg has the PDB in use. Is there a way to have windbg
> > release the file?
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Ken
> > >
> > > —
> > > You are currently subscribed to windbg as: xxxxx@stg.com
> > > To unsubscribe send a blank email to %%email.unsub%%
> >
> >
> >
> >
> >
> > —
> > You are currently subscribed to windbg as: xxxxx@legato.com
> > To unsubscribe send a blank email to %%email.unsub%%
> >
> >
> > —
> > You are currently subscribed to windbg as: xxxxx@cognex.com
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
> —
> You are currently subscribed to windbg as: xxxxx@legato.com
> To unsubscribe send a blank email to %%email.unsub%%
>
>
>
>

!reload -u mydriver does not do the trick, in fact both the .sys and .pdb
files are still in use. I tried to delete them as well but that does not
work. Is there any other way to release them other then exiting Windbg?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Gary G. Little
Sent: Friday, May 17, 2002 10:32 AM
To: Kernel Debugging Interest List
Subject: [windbg] Re: Release PDB

More than likely you have a pdb in use that you are unaware. I consistently
debug up to three device drivers in a suite I am developing and have run
into this problem across all versions of WinDbg that use PDB files. The
solution, in almost all instances, is to run !reload -u my driver for each
suspect driver. The same trick works for the test application if I have used
WinDbg to enter it. I say “almost” cuz’ when things really go bump in the
night … I hit the magic button that cures everything in debug land —
RESET.


Gary G. Little
xxxxx@broadstor.com
xxxxx@inland.net

“Ken Galipeau” wrote in message news:xxxxx@windbg…
>
> I’m sorry to say that I’m still using 4.0.11. IT also takes exiting to
> unlock the .sys file.
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Whitman, Steve
> Sent: Thursday, May 16, 2002 5:24 PM
> To: Kernel Debugging Interest List
> Subject: [windbg] Re: Release PDB
>
>
> I’ve seen this problem as well. It appears to be intermittent and new
with
> the 6.0.7 version of Windbg. I exit Windbg and the file is unlocked.
>
> - Steve -
>
>
> > -----Original Message-----
> > From: Ken Galipeau [mailto:xxxxx@legato.com]
> > Sent: Thursday, May 16, 2002 4:35 PM
> > To: Kernel Debugging Interest List
> > Subject: [windbg] Re: Release PDB
> >
> >
> > I tried “.reload -u”, windbg replied:
> > “Unloaded all modules”
> > I then did the compile and it still says the “.sys” file is in use.
> >
> > Ken
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com]On Behalf Of Sean Bullington
> > Sent: Thursday, May 16, 2002 3:48 PM
> > To: Kernel Debugging Interest List
> > Subject: [windbg] Re: Release PDB
> >
> >
> > break into windbg and type
> > “.reload -u”
> >
> > sean
> >
> > Ken Galipeau wrote:
> >
> > > When I try to build during debugging, the link will fail because the
> > > windbg has the PDB in use. Is there a way to have windbg
> > release the file?
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Ken
> > >
> > > —
> > > You are currently subscribed to windbg as: xxxxx@stg.com
> > > To unsubscribe send a blank email to %%email.unsub%%
> >
> >
> >
> >
> >
> > —
> > You are currently subscribed to windbg as: xxxxx@legato.com
> > To unsubscribe send a blank email to %%email.unsub%%
> >
> >
> > —
> > You are currently subscribed to windbg as: xxxxx@cognex.com
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
> —
> You are currently subscribed to windbg as: xxxxx@legato.com
> To unsubscribe send a blank email to %%email.unsub%%
>
>
>
>


You are currently subscribed to windbg as: xxxxx@legato.com
To unsubscribe send a blank email to %%email.unsub%%

I use “.reload /u mydriver.sys” in 6.0.0007.0 and it works everytime. So
you may want to try the dot instead of the bang reload command.

“Ken Galipeau” wrote in message news:xxxxx@windbg…
>
> !reload -u mydriver does not do the trick, in fact both the .sys and .pdb
> files are still in use. I tried to delete them as well but that does not
> work. Is there any other way to release them other then exiting Windbg?
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Gary G. Little
> Sent: Friday, May 17, 2002 10:32 AM
> To: Kernel Debugging Interest List
> Subject: [windbg] Re: Release PDB
>
>
> More than likely you have a pdb in use that you are unaware. I
consistently
> debug up to three device drivers in a suite I am developing and have run
> into this problem across all versions of WinDbg that use PDB files. The
> solution, in almost all instances, is to run !reload -u my driver for each
> suspect driver. The same trick works for the test application if I have
used
> WinDbg to enter it. I say “almost” cuz’ when things really go bump in the
> night … I hit the magic button that cures everything in debug land —
> RESET.
>
> –
> Gary G. Little
> xxxxx@broadstor.com
> xxxxx@inland.net
>
> “Ken Galipeau” wrote in message news:xxxxx@windbg…
> >
> > I’m sorry to say that I’m still using 4.0.11. IT also takes exiting to
> > unlock the .sys file.
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com]On Behalf Of Whitman, Steve
> > Sent: Thursday, May 16, 2002 5:24 PM
> > To: Kernel Debugging Interest List
> > Subject: [windbg] Re: Release PDB
> >
> >
> > I’ve seen this problem as well. It appears to be intermittent and new
> with
> > the 6.0.7 version of Windbg. I exit Windbg and the file is unlocked.
> >
> > - Steve -
> >
> >
> > > -----Original Message-----
> > > From: Ken Galipeau [mailto:xxxxx@legato.com]
> > > Sent: Thursday, May 16, 2002 4:35 PM
> > > To: Kernel Debugging Interest List
> > > Subject: [windbg] Re: Release PDB
> > >
> > >
> > > I tried “.reload -u”, windbg replied:
> > > “Unloaded all modules”
> > > I then did the compile and it still says the “.sys” file is in use.
> > >
> > > Ken
> > >
> > > -----Original Message-----
> > > From: xxxxx@lists.osr.com
> > > [mailto:xxxxx@lists.osr.com]On Behalf Of Sean Bullington
> > > Sent: Thursday, May 16, 2002 3:48 PM
> > > To: Kernel Debugging Interest List
> > > Subject: [windbg] Re: Release PDB
> > >
> > >
> > > break into windbg and type
> > > “.reload -u”
> > >
> > > sean
> > >
> > > Ken Galipeau wrote:
> > >
> > > > When I try to build during debugging, the link will fail because the
> > > > windbg has the PDB in use. Is there a way to have windbg
> > > release the file?
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Ken
> > > >
> > > > —
> > > > You are currently subscribed to windbg as: xxxxx@stg.com
> > > > To unsubscribe send a blank email to %%email.unsub%%
> > >
> > >
> > >
> > >
> > >
> > > —
> > > You are currently subscribed to windbg as: xxxxx@legato.com
> > > To unsubscribe send a blank email to %%email.unsub%%
> > >
> > >
> > > —
> > > You are currently subscribed to windbg as: xxxxx@cognex.com
> > > To unsubscribe send a blank email to %%email.unsub%%
> > >
> >
> > —
> > You are currently subscribed to windbg as: xxxxx@legato.com
> > To unsubscribe send a blank email to %%email.unsub%%
> >
> >
> >
> >
>
>
>
> —
> You are currently subscribed to windbg as: xxxxx@legato.com
> To unsubscribe send a blank email to %%email.unsub%%
>
>
>
>

Thanks, It works once I upgraded to Version 6.

PS I was always using the dot command.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Del Fredricks
Sent: Tuesday, May 21, 2002 7:06 PM
To: Kernel Debugging Interest List
Subject: [windbg] Re: Release PDB

I use “.reload /u mydriver.sys” in 6.0.0007.0 and it works everytime. So
you may want to try the dot instead of the bang reload command.

“Ken Galipeau” wrote in message news:xxxxx@windbg…
>
> !reload -u mydriver does not do the trick, in fact both the .sys and .pdb
> files are still in use. I tried to delete them as well but that does not
> work. Is there any other way to release them other then exiting Windbg?
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Gary G. Little
> Sent: Friday, May 17, 2002 10:32 AM
> To: Kernel Debugging Interest List
> Subject: [windbg] Re: Release PDB
>
>
> More than likely you have a pdb in use that you are unaware. I
consistently
> debug up to three device drivers in a suite I am developing and have run
> into this problem across all versions of WinDbg that use PDB files. The
> solution, in almost all instances, is to run !reload -u my driver for each
> suspect driver. The same trick works for the test application if I have
used
> WinDbg to enter it. I say “almost” cuz’ when things really go bump in the
> night … I hit the magic button that cures everything in debug land —
> RESET.
>
> –
> Gary G. Little
> xxxxx@broadstor.com
> xxxxx@inland.net
>
> “Ken Galipeau” wrote in message news:xxxxx@windbg…
> >
> > I’m sorry to say that I’m still using 4.0.11. IT also takes exiting to
> > unlock the .sys file.
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com]On Behalf Of Whitman, Steve
> > Sent: Thursday, May 16, 2002 5:24 PM
> > To: Kernel Debugging Interest List
> > Subject: [windbg] Re: Release PDB
> >
> >
> > I’ve seen this problem as well. It appears to be intermittent and new
> with
> > the 6.0.7 version of Windbg. I exit Windbg and the file is unlocked.
> >
> > - Steve -
> >
> >
> > > -----Original Message-----
> > > From: Ken Galipeau [mailto:xxxxx@legato.com]
> > > Sent: Thursday, May 16, 2002 4:35 PM
> > > To: Kernel Debugging Interest List
> > > Subject: [windbg] Re: Release PDB
> > >
> > >
> > > I tried “.reload -u”, windbg replied:
> > > “Unloaded all modules”
> > > I then did the compile and it still says the “.sys” file is in use.
> > >
> > > Ken
> > >
> > > -----Original Message-----
> > > From: xxxxx@lists.osr.com
> > > [mailto:xxxxx@lists.osr.com]On Behalf Of Sean Bullington
> > > Sent: Thursday, May 16, 2002 3:48 PM
> > > To: Kernel Debugging Interest List
> > > Subject: [windbg] Re: Release PDB
> > >
> > >
> > > break into windbg and type
> > > “.reload -u”
> > >
> > > sean
> > >
> > > Ken Galipeau wrote:
> > >
> > > > When I try to build during debugging, the link will fail because the
> > > > windbg has the PDB in use. Is there a way to have windbg
> > > release the file?
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Ken
> > > >
> > > > —
> > > > You are currently subscribed to windbg as: xxxxx@stg.com
> > > > To unsubscribe send a blank email to %%email.unsub%%
> > >
> > >
> > >
> > >
> > >
> > > —
> > > You are currently subscribed to windbg as: xxxxx@legato.com
> > > To unsubscribe send a blank email to %%email.unsub%%
> > >
> > >
> > > —
> > > You are currently subscribed to windbg as: xxxxx@cognex.com
> > > To unsubscribe send a blank email to %%email.unsub%%
> > >
> >
> > —
> > You are currently subscribed to windbg as: xxxxx@legato.com
> > To unsubscribe send a blank email to %%email.unsub%%
> >
> >
> >
> >
>
>
>
> —
> You are currently subscribed to windbg as: xxxxx@legato.com
> To unsubscribe send a blank email to %%email.unsub%%
>
>
>
>


You are currently subscribed to windbg as: xxxxx@legato.com
To unsubscribe send a blank email to %%email.unsub%%