[Gambas-user] Debugging inside components or libraries
Benoit Minisini
benoit.minisini at gambas-basic.org
Tue Jul 26 11:23:30 CEST 2022
Hi,
I have just added in the development version of the IDE the ability to
debug inside the components used by the current project.
When the debugger detects that a class inside the stack backtrace is
located inside a component, it automatically asks the user to locate the
project associated with that component, and will open its source code
inside the IDE to debug it.
At the moment, it only checks that the project has the same name as the
component. But it supposed that the source code matches the component
being used.
The location of the different components is stored in the local project
configuration file ("local" because it is not put on version control),
and can be reset with a button in the debugger configuration dialog.
The source code of the components is opened read-only, and at the moment
setting breakpoints inside it does not work well.
Note that I said "component", but library works as well.
Enjoy it!
--
Benoît Minisini.
More information about the User
mailing list