replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Start using debuggers, people
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 

Start using debuggers, people
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit
View previous topic :: View next topic  
Author Message
DietmarSiepmann



Joined: 03 Jun 2013
Posts: 279

PostPosted: Tue Apr 17, 2018 11:38 am    Post subject: Reply with quote

Robert,

yes, sdbg64.exe shows the copyright information when clicking the about box, but only once in my environment Sad

As a consequence of clicking HELP + ABOUT the complete menu line is greyed. If I click HELP once again (which I would not expect to be able to as the menu line is greyed) then the menu line is shown "ungreyed" again; I may click ABOUT but nothing happens.

Looking at the resource monitor I see that dlls salflibc64.dll and clearwin64.dll have been loaded by sdbg64.exe from the Salford 8.30 environment.

Regards,
Dietmar
Back to top
View user's profile Send private message
Robert



Joined: 29 Nov 2006
Posts: 457
Location: Manchester

PostPosted: Tue Apr 17, 2018 5:30 pm    Post subject: Reply with quote

That doesn't happen for me. As soon as the about box disappears the menu bar is redrawn in black. The menu bar looking disabled is a standard Windows feature. You can try it in Notepad. Go to Help->About and the menu bar with disable and then presumably reenable.

Do you only see this for Help->About?
Back to top
View user's profile Send private message Visit poster's website
DietmarSiepmann



Joined: 03 Jun 2013
Posts: 279

PostPosted: Wed Apr 18, 2018 10:22 am    Post subject: Reply with quote

Robert,

the scenario for notepad you described works in my environment in the same way you described (and as expected).

Let me describe another obeservation in this context. If starting sdbg64 and selecting menus
Code:

Tools
Find Routine

then the "Find Routine" window pops up. Leaving this window (via Cancel button) and selecting the Help/About menu entries, results in
Code:

no About window is displayed
the Tools/"Find Routine" menu entries may be selected, however, the "Find Routine" window is not displayed any more

The same applies for all other menu entries (after having selected menu Help/About): none of the windows corresponding to two menu entries (menu and submenu) selected, are displayed any more.

If the Help submenus are not selected the menu/submenu entries caused the corresponding window to be displayed.

Regards,
Dietmar
Back to top
View user's profile Send private message
DanRRight



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

PostPosted: Sun Apr 22, 2018 5:08 pm    Post subject: Reply with quote

Few more suggestions to add to SDBG64 which SDBG has but 64bit one does not. To synchronize both debuggers couple these things need to be added to 64bit debugger:

1) when you right click on variable the small window opened which shows value of this variable is often too small for long variables and

2) additional right click on this small variable window shows nothing. The SDBG though shows 4 options (Write break on variable etc) which is very convenient instead of go the kilometer long list of variables window and set the break there.

3) as we discussed, i suggested to make PARAMETERS always visible to the debugger with any debugging switches.
John Campbell made potentially modification, suggesting also to always show PARAMETERS at any debug switches be it /debug or /full_debug but only if you hover the mouse over its name and do not add them into the VARIABLES window.
Mecej4 suggested to add PARAMETERS window.
I also suggested if PARAMETERS or VARIABLES y belong to CLEARWIN.INS, WINDOWS.INS OPENGL.INS etc do not show them in the VARAIBLES window if /DEBUG key is used. FULL_DEBUG can show everything.

Please consider all these suggestions
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Mon Apr 23, 2018 7:54 am    Post subject: Reply with quote

Dietmar

You need to close the "About Debugger" window before doing anything else.

You can't leave it open and then open another one like it.
Back to top
View user's profile Send private message AIM Address
DietmarSiepmann



Joined: 03 Jun 2013
Posts: 279

PostPosted: Mon Apr 23, 2018 11:02 am    Post subject: Reply with quote

Paul,

as far as I remember I closed the About box window via the close button. But unfortunately I currently cannot reproduce the situation any more. Sorry.
If I should be able to reproduce the situation once again, I would send another post.

Regards,
Dietmar
Back to top
View user's profile Send private message
DanRRight



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

PostPosted: Sat May 26, 2018 9:39 pm    Post subject: Reply with quote

Because there was no respond from Silverfrost or users i'm not quire sure if my previous posts about SDBG64 got any attention...Time to cut 3% salary for those who do not use and do not care about debuggers Smile. Seriously, anyone who do not know or do not use them just waste years of their time.

There exist one more small but annoying problem in SDBG64: when you hover your mouse over variable second time the popup menu with the variable value does not appear. You have to touch some other variable and then return back.
Back to top
View user's profile Send private message
DietmarSiepmann



Joined: 03 Jun 2013
Posts: 279

PostPosted: Fri Jun 01, 2018 1:20 pm    Post subject: Reply with quote

I happened to run into another problem for the 64 bit debugger sdbg64 which does not occur for the 32 bit debugger: for the 64 bit debugger I cannot change a variable inside the debugger using the "let" statement (using menu items "Tools" and "Command Prompt").

Code:

      integer*4 idum
     
      idum=5
      write(*,*) 'idum=',idum
      end


Now starting sdbg64, selecting menu items "Tools" and "Command Prompt" and entering command
Code:

let idum = 33

results in error message

Code:

Expected '=' after let command


The same proceeding works for sdbg (32 bit).

I am using sdbg64 8.30 as of 11th of March 2018 (approximately). Version information of sdbg64 is
Code:

Silverfrost Debugger for 64-bit Windows version 8.30
Copyright Silverfrost Limited 1994-2017


Has anyone observed the same behaviour?
What is the newest version of sdbg64?

Regards,
Dietmar
Back to top
View user's profile Send private message
Robert



Joined: 29 Nov 2006
Posts: 457
Location: Manchester

PostPosted: Sat Jun 02, 2018 12:21 pm    Post subject: Reply with quote

Here is a ling to sdbg64 that fixes the 'let' issue:

https://www.silverfrost.com/public_downloads/sdbg64.zip
Back to top
View user's profile Send private message Visit poster's website
DanRRight



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

PostPosted: Sun Jun 03, 2018 1:49 am    Post subject: Reply with quote

Good catch, Dietmar. This is probably latest bug, I think LET worked OK when I used it before with 64.

Here is one annoyance of SDBG64 which gets on nerves after doing that hundred times a day (which by the way confirms my decades old suspicion that vast majority of users rarely use debugger preferring to debug Neanderthal's way with inserting Print* while the devs do not use their own software and when issue something new for the users it is always in deep pre-beta state fixing which takes sometimes decades. This Fortran compiler was always the most advanced but unfortunately by far the most buggiest one). Older SDBG was closing itself almost instantly. The newer SDBG64 waits 3 seconds for something hell knows what before doing that.

Do the math: lose just 3 seconds every day and at the end of your life you will lose 24 hours or 3 working days. With SDBG64 you may lose (3 days if lose 3 sec) * (100 times per day) = 300 days or a YEAR !

Take for example the program hello.f95
Code:
Print*,' hello'
end


compile it
Code:
ftn95 hello.f95 /64 /debug /link

Launch SDBG64 debugger
Code:
SDBG hello.exe

then press ALT+X and it will demostrate how it will waste these 300 days of you life
Back to top
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2615
Location: Sydney

PostPosted: Sun Jun 03, 2018 3:25 am    Post subject: Reply with quote

Dan,

Are you going to make the same mistake 100 times a day for the rest of your life ? ...
Imaging how much time you are wasting having a coffee each day; and all the time you have spent moving all over the world.

You should start using implicit none and get rid of most of those bugs. You must be able to do that in less than 300 days !

I'm off for a coffee, as I just found a "bug" that's been bothering me for 4 years. By your analysis, will I have more time now ?

John
Back to top
View user's profile Send private message
DanRRight



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

PostPosted: Sun Jun 03, 2018 4:24 am    Post subject: Reply with quote

John,
Of course we waste hell amount of time on humongous amount of cr#% in the world. Sometimes we can not do anything with it sometimes we can.

I use /UNDEF, which is better then implicit none, John, how may time I repeat this in 3 decades on all Fortran newsgroups and no one hear that?

I copy/paste large variables (and they usually all large for self-documenting) not typing them again and again so there is no source of error for static variables. Also I use new compilation options /NO_TRUNCATE which removes the main source of errors catched by the "implicit none" - i.e. getting over 72/132 character limit. So my mouse trap is pretty powerful.

It's the logic errors which are the main source of bugs in large codes not just damn static typos. To move even most stupid step ahead in large code (add some new obvious feature for example) i need to review if this will not interfere with the whole older stuff I added for 30 years which is why I make most of errors. All heavily used codes essentially grow and grow and at some point become unmanageable. Even if I have done that 100 times adding new feature is like a head surgery in the web of the source code.

And also the code development is the main source of lost time not run time for those who make codes in physics. BTW, today Saturday just started, but I already have done 30-40 compilations.

To get a proof that /undef is more powerful then "implicit none" take any large code made by someone which never used /undef but used only "implicit none" and make a fun of its author showing how many bugs his code has. I guarantee the code's author will spend a month in total #$%^& trying fixing all that.


Last edited by DanRRight on Sun Jun 03, 2018 10:08 am; edited 2 times in total
Back to top
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2615
Location: Sydney

PostPosted: Sun Jun 03, 2018 6:52 am    Post subject: Re: Reply with quote

DanRRight wrote:
To get a proof that /undef is more powerful then "implicit none" take any large code made by someone which never used /undef but used only "implicit none" and make a fun of its author showing how many bugs his code has.

Dan. this is a good idea. I shall try it with my graphics code. Is /64 /undef supported, as I have just started using /64 /check ?
Back to top
View user's profile Send private message
DietmarSiepmann



Joined: 03 Jun 2013
Posts: 279

PostPosted: Mon Jun 04, 2018 11:02 am    Post subject: Reply with quote

Robert,

thanks for the link to the zipfile containing a new version of sdbg64.exe which fixed the problem of setting a variable within sdbg64.

Regards,
Dietmar
Back to top
View user's profile Send private message
Robert



Joined: 29 Nov 2006
Posts: 457
Location: Manchester

PostPosted: Tue Jun 05, 2018 8:34 am    Post subject: Reply with quote

I put a new version up at that link. It closes the executable much faster. It misses out some cleanup code. Can people report any issues when closing down the debuggee.
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
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
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