forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Default behavior of SDGB

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
DanRRight



Joined: 10 Mar 2008
Posts: 2039
Location: South Pole, Antarctica

PostPosted: Sun Sep 27, 2015 12:05 pm    Post subject: Default behavior of SDGB Reply with quote

When i try to run debugger from command line from the directory where MyProg.exe resides like this

C:>SDBG MyProg

***and***

the MyProg.exe also exists in other directories in the PATH (specifically in the main compiler directory) then SDBG ignores my call from my directory and takes the MyProg.exe from the one in the path. Isn't common sense telling us that's this is wrong default behavior?
Back to top
View user's profile Send private message
jalih



Joined: 30 Jul 2012
Posts: 190

PostPosted: Sun Sep 27, 2015 7:14 pm    Post subject: Re: Default behavior of SDGB Reply with quote

DanRRight wrote:
When i try to run debugger from command line from the directory where MyProg.exe resides like this

C:>SDBG MyProg

***and***

the MyProg.exe also exists in other directories in the PATH (specifically in the main compiler directory) then SDBG ignores my call from my directory and takes the MyProg.exe from the one in the path. Isn't common sense telling us that's this is wrong default behavior?

What if you use full filename with file extension?

SDBG MyProg.exe
Back to top
View user's profile Send private message
DanRRight



Joined: 10 Mar 2008
Posts: 2039
Location: South Pole, Antarctica

PostPosted: Sun Sep 27, 2015 8:09 pm    Post subject: Reply with quote

No difference
Back to top
View user's profile Send private message
silverfrost
Site Admin


Joined: 29 Nov 2006
Posts: 167
Location: Manchester

PostPosted: Mon Sep 28, 2015 11:27 am    Post subject: Reply with quote

Have you tried

sdbg .\myprog,exe
Back to top
View user's profile Send private message Visit poster's website
DanRRight



Joined: 10 Mar 2008
Posts: 2039
Location: South Pole, Antarctica

PostPosted: Tue Sep 29, 2015 6:22 pm    Post subject: Reply with quote

Looks like a hack. Easy to forget and inconvenient. I'd prefer to see the default behavior closer to the common sense and simplicity unless there is a conflict with something else
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group