VS2005 debugger environment (setting path environment for an executable)

VS2005 debugger environment (setting path environment for an executable)

Post by (2b|!2b) » Sat, 06 Dec 2008 21:24:49


Its been a while since I used the VS suite. I am debugging an executable
that has several dependdencies on DLLS built in different directories.

I need to setup Debugging for my project so that I can include the DLLS
in the search path for the exe - I have looked under
Project->Properties->Configuration Properties->Debugging

For Local Windows Debuging Selection:

The most obvious attribute/property is 'Environment'

I tried the following strings (sperately of course), none of which worked:

PATH=PATH;c:\path1;c:\path2;c:\path3
%PATH%=%PATH%;c:\path1;c:\path2;c:\path3
$(PATH)=$(PATH);c:\path1;c:\path2;c:\path3

Anyone know how I can set the path so that I dont have to copy all the
DLL dependencies into the working directory?
 
 
 

VS2005 debugger environment (setting path environment for an executable)

Post by Igor Tande » Sat, 06 Dec 2008 21:49:41


PATH=$(PATH);c:\path1;c:\path2;c:\path3
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925

 
 
 

VS2005 debugger environment (setting path environment for an executable)

Post by Alex Blekh » Sat, 06 Dec 2008 21:56:23


"How to define environment variables for debugging session?"
http://www.yqcomputer.com/

You're not alone who is confused about that.

Alex