[Gambas-user] Debugging program to find error
Benoît Minisini
gambas at ...1...
Thu Apr 8 18:29:17 CEST 2010
> Hi
>
> Continuing with experiments to try to implement a project of Gambas on a
> computer that does not have the IDE using the variable GB_DIR.
>
> The main problem is to debug the project on the computer that Gambas is
> not installed because the debugger does not work with the parameters
> indicated on the website of Benoit.
>
> I have tried to solve this by placing the routes where the executable.
> Example:
>
> Edit /etc/environment and added:
>
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/op
> t/project/gambas2/bin
>
> Then run gbc2 -agt and gives me the following:
>
> /opt/project/ FMain.class: 15: Unknown identifier: Button
>
> any idea?
>
> For testing purposes, the project consists of only one form and a
> button.
>
>
> Note:
> I'm testing this on a Ubuntu 8.04 distribution without Gambas 2
> installed, running through VirtualBox.
>
> Regards
>
> [OperatingSystem]
> OperatingSystem=Linux
> KernelRelease=2.6.28-14-generic
> DistributionVendor=ubuntu
> DistributionRelease="Ubuntu 9.04"
>
> [System]
> CPUArchitecture=i686
> TotalRam=1026628 kB
>
> [Gambas]
> Gambas1=Not Installed
> Gambas2=2.20.2
> Gambas2Path=/usr/local/bin/gbx2
> Gambas3=2.99.0
> Gambas3Path=/usr/local/bin/gbx3
If you want to compile, and debug, you have to install Gambas. What you are
doing is step by step creating a script that installs Gambas. You are
reinventing the concept of binary package! Why not using them so?
--
Benoît Minisini
More information about the User
mailing list