Usage of Interactive Apex Debugger

By | May 5, 2016

Introduction:
In Winter’16 release, Salesforce offered a new “Apex Interactive Debugger” that shall make developers of other platforms feel comfortable working with Salesforce. An interactive debugger allows you to set, remove and suspend breakpoints. It also allows you to step in, step out, step over and through your code, as well as view variables at any point and also display System.debug statements to the console window.

Interactive debugger is being offered as an eclipse plug-in as shown below.

Eclipse Plugin

Install the Debugger add-on for the Eclipse plugin and you can use it same as debugger of other languages.

Eclipse Plugin 2

Working:
The Interactive debugger uses a debugger session manager. Every session requires a thread and a database connection, and can last maximum for 30 minutes. Debugging can cause performance issues, as Salesforce is a shared environment, hence this feature is available only on pay basis.

Pros & Cons:
Pros:
a) It’s pretty fast.
b) Works well for triggers.
c) Works well for Page controllers.
d) Works well for Apex lightning controllers.

Cons:
a) Each time metadata on the project gets saved, your session gets expired.
b) It is not freely available. In this way we can connect to the ERP system from Salesforce.

About Us
Greytrix as a Salesforce Product development partner offers a wide variety of integration products and services to the end users as well as to the Partners across the globe. We offers Consultation, Configuration, Training and support services in out-of-the-box functionality as well as customizations to incorporate custom business rules and functionalities that requires apex code incorporation into the Salesforce platform.

Greytrix has some unique solutions for Cloud CRM such as Salesforce integration with Sage Enterprise Management (Sage X3), Sage Intacct, Sage 100 and Sage 300 (Sage Accpac). We also offer best-in-class Cloud CRM Salesforce customization and development services along with services such as Salesforce Data Migration, Integrated App development, Custom App development and Technical Support to business partners and end users.

Greytrix GUMU™ integration for Sage ERP – Salesforce is a 5-star app listed on Salesforce AppExchange.

For more information, please contact us at salesforce@greytrix.com. We will be glad to assist you.

Related Posts