Closed Bug 634848 Opened 13 years ago Closed 7 years ago

WinDbg instructions point to wrong location for debug log in Windows 7

Categories

(Developer Documentation Graveyard :: General, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: mozilla, Unassigned)

References

()

Details

(Whiteboard: u=mozdev p=1 c=Platform)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13
Build Identifier: 

If you follow the instructions at https://developer.mozilla.org/en/how_to_get_a_stacktrace_with_windbg exactly, you are led to believe that you will find the log file in C:\ .

In Windows 7, running as a normal non-UAC account, this is not what happens. Windows places the log file in C:\Users\<username>\AppData\Local\VirtualStore . I assume this is part of some kind of UAC-related compatibility mechanism on Windows' part.

As this is greatly confusing (I spent 3 days thinking I had lost a debug log before realizing that I was looking in the wrong place!), it would be helpful if the instructions reflected the proper location of the debug log in Windows 7 systems. 

Alternately, if we are supposed to manually run WinDbg as administrator (which might or might not cause the log file to be placed in C:\), then the instructions should indicate that.

Reproducible: Always

Steps to Reproduce:
1. Enter '.logopen /t c:\firefox-debug.log' in WinDbg prompt as instructed.
2. Look for the log file in C:\.

Actual Results:  
You do not find the log file.

Expected Results:  
The instructions should have advised you to look in C:\Users\<Username>\AppData\Local\VirtualStore .
Vivien, it's a wiki... you can edit it. :)
Component: Website → Landing pages
Sheppy: Bumping this over to you.
Component: Landing pages → Documentation
Component: Documentation → General
Product: Mozilla Developer Network → Developer Documentation
Whiteboard: u=mozdev p=0
Whiteboard: u=mozdev p=0 → u=mozdev p=0 c=Platform
Whiteboard: u=mozdev p=0 c=Platform → u=mozdev p=1 c=Platform
In 2013 I changed it to 
 .logopen /t c:\temp\firefox-debug.log

Does that work for you?

Alternatively, %USERPROFILE%\Desktop\ might be even better
Flags: needinfo?(mozilla)
No answer unfortunately. Closing this one.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(mozilla)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.