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 

Debug Pointers

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



Joined: 02 Sep 2008
Posts: 210

PostPosted: Fri Oct 13, 2017 4:16 pm    Post subject: Debug Pointers Reply with quote

Running Plato, Win10, I used to be able to start the run by "stepping into" and would get a tool bar icon that allowed me to "click" on it to advance one line at a time. Now, when I start the run by "stepping into" command, only get a yellow arrow on the current line and have to go back to the "stepping into" command to advance to each line. I suspect that an option has been changed in the Project Properties segment that has changed the way that stepping down line by line is being conducted. Anyone have any ideas? please let me know. Sid Kraft
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Mon Oct 16, 2017 9:02 am    Post subject: Reply with quote

Sid

I don't understand your question.
Is the "Build" toolbar visible? If not then use the View menu then select "Build toolbar".
Back to top
View user's profile Send private message AIM Address
stfark1



Joined: 02 Sep 2008
Posts: 210

PostPosted: Mon Oct 16, 2017 6:13 pm    Post subject: Debug Pointer Reply with quote

Paul: The build tool bar is visible, however, before, there was another icon that allowed you to "click" on it to advance one line, now, there is a yellow arrow on each line and in order to advance, have to click on the build icon again and "step over" to get the pointer to advance, not sure what option, if any , got changed but will no no longer allow one to advance a line without accessing build and step over, strange. Sid Kraft
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Mon Oct 16, 2017 8:38 pm    Post subject: Reply with quote

Sid

I am still at a loss. The toolbars have not changed.
Back to top
View user's profile Send private message AIM Address
stfark1



Joined: 02 Sep 2008
Posts: 210

PostPosted: Tue Oct 17, 2017 4:51 pm    Post subject: Debug Pointers Reply with quote

Paul: Tried to depict pictorially, so maybe this will help
Normal step through code:
File Edit View Project Build Tools Window Help
^ (click here)
Get:
Build
Rebuild
Clean
Rebuild Dependencies
Compile
Start Run
->Step Into (click here)
File Run Tools Window Help
A - - ^ - | | - | -
B - - | - | > - > - | - <-(click here) <_
C - - | - v - -> - |
|
(CONTINUOUS CLICK HERE,
ADVANCES THROUGH THE
FORTRAN CODE)
C PROGRAM TO DO MATH FUNCTIONS
IMPLICIT REAL
A = 1
B = 2
ETC.

Erroneous step through code:
File Edit View Project Build Tools Window Help
^ (Click Here)
Get:
Build
Rebuild
Clean
Rebuild Dependencies
Compile
Start Run
Step Into (Click Here)
File Run Build Tools Window Etc.
C PROGRAM TO DO MATH FUNCTIONS
--> IMPLICIT REAL
A = 1
B = 2
ETC.

NOTES: 1.) THE "STEP INTO" AND "STEP OVER" ICONS ARE MISSING
2.) THERE IS A YELLOW ARROW POINTING TO EACH LINE OF CODE
3.) IN ORDER TO "STEP OVER", ONE HAS TO CLICK ON "BUILD"
AGAIN TO TO ADVANCE THE ARROW TO THE NEXT LINE OF
CODE, VERY TIME CONSUMING

Not sure how this got activated and tried every option to get out, to no avail. Sid Kraft
Back to top
View user's profile Send private message
stfark1



Joined: 02 Sep 2008
Posts: 210

PostPosted: Tue Oct 17, 2017 4:53 pm    Post subject: Debug Pointers Reply with quote

Paul: In the previous note to you, the "click here" should point to the "Build" function in each case, when I posted, the system removed the spaces in front of the "click here" post, Sid Kraft
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Tue Oct 17, 2017 5:06 pm    Post subject: Reply with quote

Sid

The yellow arrow means that you have elected to integrate the debugger into Plato.

If you want to run the debugger independently then select Options from the Plato "Tools" menu, find "Integrate with SDBG" and reset.
Back to top
View user's profile Send private message AIM Address
stfark1



Joined: 02 Sep 2008
Posts: 210

PostPosted: Wed Oct 18, 2017 4:25 am    Post subject: Debug Pointers Reply with quote

Thanks Paul, that solved the problem, Sid Kraft
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2388
Location: Yateley, Hants, UK

PostPosted: Wed Oct 18, 2017 11:57 am    Post subject: Reply with quote

Great argument for another video, I think.

Eddie
Back to top
View user's profile Send private message
stfark1



Joined: 02 Sep 2008
Posts: 210

PostPosted: Wed Oct 18, 2017 4:23 pm    Post subject: Debug Pointers Reply with quote

Paul: Confused a little about "integrate with SDBG", seems like execution from SDBG requires at the command prompt level, sounds like running from Plato would be much easier and more user friendly. Thus, from what you have said, turn off the switch "integrate with SDGB" to run normally would be the way to go, why would there be a setting to "integrate with a more user unfriendly switch" even be in the code? unsure. Sid Kraft
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Wed Oct 18, 2017 5:39 pm    Post subject: Reply with quote

Sid

There are three ways you can work.

1) Run SDBG from a command line outside of Plato.

2) Get Plato to do the same as (1) via a Plato command (this is when Plato is not integrated with SDBG).

3) Get Plato to talk seamlessly to SDBG (via a pipe). In this case SDBG is running in the background but it is hidden and there is a conversation going on with Plato showing the all the results. (this is the integrated mode).
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Plato 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