Gambas Documentation
Application Repository
Code Snippets
Compilation & Installation
Components
Controls pictures
Deprecated components
Developer Documentation
Development Environment Documentation
Documents
Error Messages
Gambas Playground
How To's
How To Change the Tab Order of GUI Controls
How To Contribute
How to Create and Open a ".gmail.txt" Archive
How to deal with Git and Gitlab concerning your Project
How to deal with Git and Gitlab for Gambas
How To Deal With Subversion for Gambas
How To Display a Chinese Character
How To Draw with gb.Cairo
How To Enter Data With gb.db.form
How To Get Gambas Web Started (1)
How To Get Started
How To Interface Gambas With External Libraries
How To make a chart with the gb.chart component
How to make a report with Gambas
How To Make KDE Run Gambas Executables Automatically
How To Open, Debug & Compile The IDE
How To Open a MySQL connection and use it
How To Open a SQLite connection and use it
How To Open a Unix ODBC connection and use it
How To Package Gambas
How To Package your Project
How To Print
How to Run Gambas and Gambas Apps on Windows using WSL
How To Run Gambas On Windows using Cygwin
How To Translate A Gambas Project
How To Translate Gambas
How To Translate The Gambas IDE (deprecated)
How To Use Parallel Port
Language Index
Language Overviews
Last Changes
Lexicon
README
Search the wiki
To Do
Topics
Tutorials
Wiki License
Wiki Manual

How To Open, Debug & Compile The IDE

The Gambas IDE is written in Gambas. So the IDE source project can be loaded into the IDE for editing.

  • Be sure you already have Gambas IDE installed.

  • Download a Gambas source code version from gitlab...

Stable Version https://gitlab.com/gambas/gambas/-/archive/stable/gambas-stable.zip

Development Version https://gitlab.com/gambas/gambas/-/archive/master/gambas-master.zip

  • Run your already installed Gambas IDE.

  • Lets assume you have un-archived the source into a folder called ~/gambas-source. so Open Project ~/gambas-source/app/src/gambas3

  • Now you have the gambas IDE project loaded in the gambas IDE.

  • Press the Start Button

  • You now see another Gambas IDE is running through the existing Gambas. You can open projects as normal ...

  • Close the running projects.

  • Modify something in the IDE source code. (Maybe add some debugging messages)

  • Save the project and compile the exe using the "make executable" option.

~/gambas-source/app/src/gambas3/gambas3.gambas will have been created and you can use this instead of the installed version.

Or you can copy the new executable to /usr/bin/gambas3.gambas and overwrite the installed version.

Warning

The IDE is a VERY complicated system and you can break your gambas by modifying code.

Be aware of this if you report bugs, make sure the bugs exist in the non modified gambas before reporting them.