4D Blog

Home Product Edit and Debug Component Methods and Classes in 4D from the host project

Edit and Debug Component Methods and Classes in 4D from the host project

April 23, 2025

Product

When working with your own component, switching between the host and component environments just to debug or enhance your component code can be inconvenient. With 4D 20 R9, you can now edit and debug component shared methods and classes directly within the host project, as long as the components are included with their source code.

Edit Component Methods and Classes Seamlessly

Previously, modifying component code required reloading the component or even the host project. Now, 4D developers can simply double-click on a component method or class to open it in the standard code editing window.

Debugging Made Easier

Debugging component methods and functions has also been enhanced. When stepping into an editable component method or class, clicking the Edit or Abort and Edit button will open the corresponding method or function, making issue resolution faster and more intuitive.

Live Code Usage Without Reloading

One of the most powerful enhancements is the ability to use modified component code without needing to reload the component or restart the host project. This means changes take effect immediately, significantly reducing downtime and accelerating the development cycle.

Development Mode in Client/Server Environment

For those working in a client/server setup, component modification is now possible when Activate development mode is enabled. Of course, you need read and write permissions on your component directory

Conclusion

These enhancements provide a more flexible experience when working with components in 4D. By allowing direct editing, debugging, and seamless execution of modified component code, 4D significantly boosts development productivity. Try out these new features and enjoy a smoother, more efficient coding workflow in your 4D projects!

And this is just the beginning! Soon, you’ll be able to fully manage your components directly from the host database (edit forms…)!

Discuss

Tags 20 R9, 21, Component

Latest related posts

  • April 29, 2025

    Discover your AI-powered writing assistant in 4D Write Pro

  • April 28, 2025

    Unlock the Power of AI with 4D AIKit: Automate, Create, and Innovate

  • April 25, 2025

    Formulas in Label Wizard

Fabrice Mainguené
Fabrice Mainguené
• Product Owner •Fabrice Mainguené joined 4D Program team in November, 2016. As a Product Owner, he is in charge of writing the user stories then translating it to functional specifications. His role is also to make sure that the feature implementation delivered is meeting the customer need.After obtaining a Bachelor degree in Computer Science at CNAM, Fabrice joined a small software publishing company as a Windev developer. Then he worked for different companies in industry and trade areas as a Windev and web developer as well as technical advisor on new features.
  • Deutsch
  • Français
  • English
  • Português
  • Čeština
  • Español
  • Italiano
  • 日本語

Categories

Browse categories

  • 4D View Pro
  • 4D Write Pro
  • 4D for Mobile
  • Email
  • Development Mode
  • 4D Language
  • ORDA
  • User Interface / GUI
  • Qodly Studio
  • Server
  • Maintenance
  • Deployment
  • 4D Tutorials
  • Generic
  • 4D Summit sessions and other online videos

Tags

4D-Analyzer 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R8 20 R9 Administration Authentication Build application CI/CD Class Client/Server Code editor Collections Compatibility settings Formula Google Listbox Logs Mail Network Objects ORDA PDF Pictures Preemptive Programming Qodly Studio REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience v20 vscode Web Word processor

Tags

4D-Analyzer 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R8 20 R9 Administration Authentication Build application CI/CD Class Client/Server Code editor Collections Compatibility settings Formula Google Listbox Logs Mail Network Objects ORDA PDF Pictures Preemptive Programming Qodly Studio REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience v20 vscode Web Word processor
Subscribe to 4D Newsletter

© 2025 4D SAS - All rights reserved
Terms & Conditions | Legal Notices | Data Policy | Cookie Policy | Contact us | Write for us


Subscribe to 4D Newsletter

* Your privacy is very important to us. Please click here to view our Policy

Contact us

Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!

* Your privacy is very important to us. Please click here to view our Policy