Silverfrost Forums

Welcome to our forums

Debug Pointers

13 Oct 2017 3:16 #20419

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

16 Oct 2017 8:02 #20462

Sid

I don't understand your question. Is the 'Build' toolbar visible? If not then use the View menu then select 'Build toolbar'.

16 Oct 2017 5:13 #20474

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

16 Oct 2017 7:38 #20475

Sid

I am still at a loss. The toolbars have not changed.

17 Oct 2017 3:51 #20480

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

17 Oct 2017 3:53 #20481

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

17 Oct 2017 4:06 #20482

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.

18 Oct 2017 3:25 #20490

Thanks Paul, that solved the problem, Sid Kraft

18 Oct 2017 10:57 #20491

Great argument for another video, I think.

Eddie

18 Oct 2017 3:23 #20492

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

18 Oct 2017 4:39 #20495

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).

Please login to reply.