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 

SDBG BREAK IN SALFSTARTUP

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



Joined: 22 Apr 2008
Posts: 12

PostPosted: Tue Oct 22, 2013 5:05 pm    Post subject: SDBG BREAK IN SALFSTARTUP Reply with quote

When attempting to run an app compiled with DEBUG, CHECK, UNDEF OR CHECKMATE in SDBG it attempts to start in SALFStartup with Call Stack/Status message: Program Breakpoint.

I am using WinXP beccause starting SDBG in Windows 7 is very problematic and unreliable.

Any ideas what the problem is?

Thanks
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 4820
Location: Salford, UK

PostPosted: Wed Oct 23, 2013 7:19 am    Post subject: Reply with quote

If I am understanding this correctly then what you are experiencing is the designed behaviour for SDBG. When running SDBG directly, by default it will stop at the first executable statement to allow you to step through code or set break points and select "Run".

There are ways to over-ride this behaviour and if you start SDBG from Plato then you have the option of running directly to a selected break point (probably other options as well).

In some contexts SDBG will be launched when you simply run the executable (compiled using one of the debugging options). This can occur when the executable encounters a run time error.
Back to top
View user's profile Send private message
saturn



Joined: 22 Apr 2008
Posts: 12

PostPosted: Wed Oct 23, 2013 1:14 pm    Post subject: Reply with quote

Paul,

Thanks a lot for your prompt reply.

How can I bypass the behaviour of it stopping in SALFStartup when running SDBG directly?

I always run SDBG directly and most of the time it starts in a routine with debug information rather than SALFSTARTUP. I then set breakpoints.

Thanks.
Back to top
View user's profile Send private message
saturn



Joined: 22 Apr 2008
Posts: 12

PostPosted: Wed Oct 23, 2013 3:29 pm    Post subject: Reply with quote

no message

Last edited by saturn on Wed Oct 23, 2013 3:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 4820
Location: Salford, UK

PostPosted: Wed Oct 23, 2013 3:32 pm    Post subject: Reply with quote

Sorry I missed the reference to SALFStartup.

This is an internal function within salflibc.dll without debugging information so I don't understand how the debugger can break at this point.
Back to top
View user's profile Send private message
saturn



Joined: 22 Apr 2008
Posts: 12

PostPosted: Wed Oct 23, 2013 3:35 pm    Post subject: Reply with quote

It tries to break into SALFStartup but can't since there is no debug info as you mention. SDBG doesn't progress further.

It does it intermittently. Not sure why.

I am sending an email with screenshot of SDBG.
Back to top
View user's profile Send private message
Robert



Joined: 29 Nov 2006
Posts: 209
Location: Manchester

PostPosted: Thu Oct 24, 2013 9:24 am    Post subject: Reply with quote

Is it possible you have mismatched Salflibc.dll on your machine? For example, you might have one in the application directory and a different one elsewhere on your path.
Back to top
View user's profile Send private message Visit poster's website
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