replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - SDBG64 bleeds bits of source line to next line (source pane)
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 

SDBG64 bleeds bits of source line to next line (source pane)

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



Joined: 31 Oct 2006
Posts: 1898

PostPosted: Sat Mar 09, 2024 2:10 pm    Post subject: SDBG64 bleeds bits of source line to next line (source pane) Reply with quote

When debugging with SDBG64, I sometimes see that when the source code pane has its width reduced using the mouse, parts of a long line of source code that are now beyond the right edge of the pane are then added to the end of the next line, if that next line is short.

Example:

Code:
program sdbg64dispbug
   implicit none
   logical :: unconfined = .false.
   integer :: Ioptpr(5) = [1,2,3,4,5]
   integer ltime, lnri
   real wrelaxp, wrelaxh
   IF(unconfined) THEN
     CALL damper
        !***..**restore arguments later F90
        !..          if(unconfined) call damper(wrelaxp,wrelaxh)
     IF(Ioptpr(3) >= 1) WRITE(*, 35) Ltime, Lnri, wrelaxp, wrelaxh
35    FORMAT(I4,I3,' P under relaxation factor:',F6.2,'; H under relaxation factor:',F6.2)
     Ioptpr = 2*Ioptpr
   ENDIF
   end program

   subroutine damper
   end


Compile with /debug /64, link, and run in SDBG64. Adjust the width of the source code pane such that line-11 gets cut off beyond "...Lnri". Now view line-13. You will see ",F6.2)" appended. The code appears to be
Code:
     Ioptpr = 2*Ioptpr,F6.2)

instead of
Code:
    Ioptpr = 2*Ioptpr


Another minor defect: all lines of code have an extra blank displayed before column-1 of the source code.

A screenshot of this text bleeding can be seen at http://pasteboard.co/oXRbwGVgqOjP.jpg .
Back to top
View user's profile Send private message
mecej4



Joined: 31 Oct 2006
Posts: 1898

PostPosted: Tue May 14, 2024 3:55 pm    Post subject: Reply with quote

I posted this bug report over two months ago.

RSVP!
Back to top
View user's profile Send private message
Robert



Joined: 29 Nov 2006
Posts: 450
Location: Manchester

PostPosted: Tue May 14, 2024 6:29 pm    Post subject: Reply with quote

I'll take a look
Back to top
View user's profile Send private message Visit poster's website
Robert



Joined: 29 Nov 2006
Posts: 450
Location: Manchester

PostPosted: Sat May 18, 2024 8:24 am    Post subject: Reply with quote

Can you give this one a go: https://www.ftn95.co.uk/ftn95/sdbg64.zip
Back to top
View user's profile Send private message Visit poster's website
mecej4



Joined: 31 Oct 2006
Posts: 1898

PostPosted: Sat May 18, 2024 1:08 pm    Post subject: Reply with quote

Thanks, Robert, the text bleed-over problem reported in this thread is not present in the revised SDBG64 (9.02 version) that you just made available.

After spending a few days exercising the new version of SDBG64 on a number of larger programs, if there are any other issues that surface I shall report them.
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 -> 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