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 

Latest sdbg64

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit
View previous topic :: View next topic  
Author Message
Robert



Joined: 29 Nov 2006
Posts: 444
Location: Manchester

PostPosted: Fri Jul 21, 2017 10:14 pm    Post subject: Latest sdbg64 Reply with quote

There is a new build of sdbg64 at: http://www.ftn95.co.uk/ftn95/sdbg64.zip. This version is more stable than the current released version.
Back to top
View user's profile Send private message Visit poster's website
mecej4



Joined: 31 Oct 2006
Posts: 1884

PostPosted: Fri Jul 28, 2017 12:30 pm    Post subject: Reply with quote

Thanks, but a pressing problem remains: SDBG64 does not allow a program to be rerun. If a timely breakpoint was not placed, the program being tested may encounter a runtime error and abort. After this, the only recourse is to start SDBG64 again.
Back to top
View user's profile Send private message
Robert



Joined: 29 Nov 2006
Posts: 444
Location: Manchester

PostPosted: Fri Jul 28, 2017 12:32 pm    Post subject: Reply with quote

That feature is in development. Coming soon.
Back to top
View user's profile Send private message Visit poster's website
Robert



Joined: 29 Nov 2006
Posts: 444
Location: Manchester

PostPosted: Sun Sep 03, 2017 12:27 pm    Post subject: Reply with quote

There is a new sdbg64 available at the link above. This includes allowing the program to be restarted and conditional breakpoints.
Back to top
View user's profile Send private message Visit poster's website
Robert



Joined: 29 Nov 2006
Posts: 444
Location: Manchester

PostPosted: Sun Sep 10, 2017 11:20 am    Post subject: Reply with quote

There is a new sdbg64 (8.10.10) which fixes a bug in the command line switches.
Back to top
View user's profile Send private message Visit poster's website
mecej4



Joined: 31 Oct 2006
Posts: 1884

PostPosted: Sun Sep 10, 2017 1:34 pm    Post subject: Reply with quote

Thanks, Robert. SDBG64 is becoming quite capable and useful! The stack trace shows the routine name, source file name and source line number, all of which are quite useful. (SDBG32 does not show the file name and line number, in contrast)

The display of the XMM register contents helps with debugging programs that use floating point calculations.

Are the command line switches of SDBG64 such as /SILENT documented somewhere?
Back to top
View user's profile Send private message
Robert



Joined: 29 Nov 2006
Posts: 444
Location: Manchester

PostPosted: Tue Sep 12, 2017 8:41 am    Post subject: Reply with quote

I was pretty sure the switches are in the hep system - but I cannot find them. I will produce some documentation on them.
Back to top
View user's profile Send private message Visit poster's website
viroxa



Joined: 28 Jul 2017
Posts: 78

PostPosted: Fri Sep 15, 2017 11:41 am    Post subject: Reply with quote

Is anyone else having problems when closing SDBG64?

Since I've downloaded the latest version, it takes forever to close, sometimes even crashing in the process.
Back to top
View user's profile Send private message
mecej4



Joined: 31 Oct 2006
Posts: 1884

PostPosted: Fri Sep 15, 2017 2:08 pm    Post subject: Reply with quote

Yes, there is at least one bug in SDBG64 related to that. Here is a report of how to reproduce it on a W10-64 PC, using FTN95 8.10 and SDBG64 8.10.10. Compile and link the program
Code:
program hello
print *,'Hello'
end program

with the command
Code:
ftn95 hello.f90 /64 /debug /link

and start the debugger with the command
Code:
sdbg64 hel.exe

As soon as the debugger opens and waits for your command input, choose File, Exit. The windows remain, and SDBG64 appears to be stuck; I do not see an SDBG64 entry in the Windows Task Manager's Processes pane. If I go back to the command window and then type ^C, the SDBG windows disappear, and SDBG64.exe now appears in the Task Manager's Processes list. I can then kill the process in the Task Manager by choosing "sdbg64.exe" and pressing the "End task" button.

It would be nice to have this fixed.
Back to top
View user's profile Send private message
Robert



Joined: 29 Nov 2006
Posts: 444
Location: Manchester

PostPosted: Sat Sep 16, 2017 6:58 pm    Post subject: Reply with quote

There is a new sdbg64 at the original download address which should help with this issue.

The command line switches are:

/silent - do not show the debugger until something happens that requires it to be shown

/sourcepath (or /sp) - use the following path to find source files. Useful if the source has moved between compilation and running (or it is compiled on a different machine). For example: /sp n:\src

/params (or /p) - the arguments after /params are passed as arguments to the program being debugged

/runto filename lineno - this sets a breakpoint at the given file and line number and then runs the program to be debugged. /runto implies /silent. For example: /runto linear.f90 2134

/version - prints out the debugger version number
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 -> 64-bit 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