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
Debug Pointers
Sid
I don't understand your question. Is the 'Build' toolbar visible? If not then use the View menu then select 'Build toolbar'.
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
Sid
I am still at a loss. The toolbars have not changed.
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
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
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.
Thanks Paul, that solved the problem, Sid Kraft
Great argument for another video, I think.
Eddie
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
Sid
There are three ways you can work.
Run SDBG from a command line outside of Plato.
Get Plato to do the same as (1) via a Plato command (this is when Plato is not integrated with SDBG).
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).