View previous topic :: View next topic |
Author |
Message |
stfark1
Joined: 02 Sep 2008 Posts: 210
|
Posted: Fri Oct 13, 2017 4:16 pm Post subject: Debug Pointers |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7926 Location: Salford, UK
|
Posted: Mon Oct 16, 2017 9:02 am Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
stfark1
Joined: 02 Sep 2008 Posts: 210
|
Posted: Mon Oct 16, 2017 6:13 pm Post subject: Debug Pointer |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7926 Location: Salford, UK
|
Posted: Mon Oct 16, 2017 8:38 pm Post subject: |
|
|
Sid
I am still at a loss. The toolbars have not changed. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
stfark1
Joined: 02 Sep 2008 Posts: 210
|
Posted: Tue Oct 17, 2017 4:51 pm Post subject: Debug Pointers |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
stfark1
Joined: 02 Sep 2008 Posts: 210
|
Posted: Tue Oct 17, 2017 4:53 pm Post subject: Debug Pointers |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7926 Location: Salford, UK
|
Posted: Tue Oct 17, 2017 5:06 pm Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
stfark1
Joined: 02 Sep 2008 Posts: 210
|
Posted: Wed Oct 18, 2017 4:25 am Post subject: Debug Pointers |
|
|
Thanks Paul, that solved the problem, Sid Kraft |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2388 Location: Yateley, Hants, UK
|
Posted: Wed Oct 18, 2017 11:57 am Post subject: |
|
|
Great argument for another video, I think.
Eddie |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
stfark1
Joined: 02 Sep 2008 Posts: 210
|
Posted: Wed Oct 18, 2017 4:23 pm Post subject: Debug Pointers |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7926 Location: Salford, UK
|
Posted: Wed Oct 18, 2017 5:39 pm Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
|