View previous topic :: View next topic |
Author |
Message |
saturn
Joined: 22 Apr 2008 Posts: 12
|
Posted: Tue Oct 22, 2013 5:05 pm Post subject: SDBG BREAK IN SALFSTARTUP |
|
|
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 |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8011 Location: Salford, UK
|
Posted: Wed Oct 23, 2013 7:19 am Post subject: |
|
|
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 |
|
|
saturn
Joined: 22 Apr 2008 Posts: 12
|
Posted: Wed Oct 23, 2013 1:14 pm Post subject: |
|
|
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 |
|
|
saturn
Joined: 22 Apr 2008 Posts: 12
|
Posted: Wed Oct 23, 2013 3:29 pm Post subject: |
|
|
no message
Last edited by saturn on Wed Oct 23, 2013 3:32 pm; edited 1 time in total |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8011 Location: Salford, UK
|
Posted: Wed Oct 23, 2013 3:32 pm Post subject: |
|
|
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 |
|
|
saturn
Joined: 22 Apr 2008 Posts: 12
|
Posted: Wed Oct 23, 2013 3:35 pm Post subject: |
|
|
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 |
|
|
Robert
Joined: 29 Nov 2006 Posts: 450 Location: Manchester
|
Posted: Thu Oct 24, 2013 9:24 am Post subject: |
|
|
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 |
|
|
|