News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

WinDbg - Source Path

Started by raleeper, June 12, 2007, 10:13:36 AM

Previous topic - Next topic

raleeper

I once kept my source and executable in h:\masm32\.  I then moved lfw.asm and other lfw files to h:\lfw\.

Now WinDbg opens h:\lfw\lfw.asm as it should, but I cannot find a way to disabuse it of the idea that it should also open h:\masm32\lfw.asm [which no longer exists].

This is the shortcut I use to start WinDbg:

    "C:\Program Files\Debugging Tools for Windows\windbg.exe" h:\lfw\lfw.exe

I have tried adding "/srcpath h:\lfw " before "h:\lfw\lfw.exe".

I do not use any environmental variables.

I assemble and link with the batch file:

    (c:\aw.bat)

h:
cd lfw
h:\masm32\bin\ml /c /coff /Cp /Fl /W2 /Zi lfw.asm >errs
h:\masm32\bin\link /SUBSYSTEM:WINDOWS /LIBPATH:h:\masm32\lib /DEBUG /DEBUGTYPE:CV lfw.obj >>errs
cd\
c:

I have tried using full path specifications in the batch file.


Any idea how I can stop windbg from trying to open the old source file?

Thanks.

raleeper

Never mind.

I just closed the bad source window and moved the right one into its place.  Windbg remembered.