Silverfrost Forums

Welcome to our forums

Debug in PLATO

26 May 2022 9:22 #28998

I work with PLATO version 4.0 and with FTN95 version5.20.0

in PLATO Environment / General / Settings 'Integrated with SDBG' is checked

when I launch the Debug in PLATO the SDBG page does not appear and I can debug only operate in PLATO. In PLATO I can't

  • set breakpoints
  • stop the program and know in which line it is positioned
  • I cannot know the content of the individual elements of an array

How can I solve the problem? Thank you in advence.

26 May 2022 10:09 #28999

moropera

Your FTN95 version dates from March 2008 and presumably your Plato is from the same release.

The current release of FTN95 is v8.8x whilst Plato is now a 64 bit application and is at v5.5x.

You could consider updating to the latest releases, particularly if you are using the Personal Edition which is free.

Otherwise I can only suggest that you switch off 'Integrated with SDBG'. Then Plato will launch SDBG as an external application and it will look the same as if you were to run SDBG from a command prompt.

27 May 2022 11:13 #29000

Switch off 'Integrated with SDBG' also does not work. The strange thing is that even running it from a command prompt the SDBG debugger does not appear. Is there an initialization file? Thanks anyway Tonino

28 May 2022 1:56 #29001

Please note that most of the readers are using either the current version of FTN95 or a recent version. Therefore, few of us are going to be 'seeing' the same things that you are, because current GUI programs such as Plato, SDBG, etc., are probably quite different as to menu items and appearance. Very few of us are likely to be running a 14-year-old compiler when a more recent version is available and is outfitted with a large number of improvements and can run comfortably on a 64-bit operating system.

The implication is that you should describe in detail what steps you took and what error messages or unexpected behaviour you saw.

29 May 2022 8:19 #29002

Quoted from moropera The strange thing is that even running it from a command prompt the SDBG debugger does not appear.

I have had plato or SDBG disappear, as it's window address gets corrupted. If you hover on the task bar and get the thumb view of plato to appear, I think you can select properties (of the thumb view) then maximise to get it to appear in a screen.

There is an initialisation file, but it may be easier to maximise and close, then restart Plato or SDBG.

29 May 2022 10:56 #29003

The easiest thing to try is to delete sdbg.ini. On my machine it is stored at:

C:\Users\Robert\AppData\Local\VirtualStore\Windows\sdbg.ini

30 May 2022 9:09 #29004

Grazie mille Robert! Your suggestion worked: after deleting the sdbg.ini starting the debug from PLATO the SDBG window appears and I can safely debug. You have been very kind. Tonino

Please login to reply.