{"id":1805,"date":"2016-05-05T05:53:03","date_gmt":"2016-05-05T05:53:03","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/salesforce\/?p=1805"},"modified":"2018-10-25T06:27:02","modified_gmt":"2018-10-25T06:27:02","slug":"usage-of-interactive-apex-debugger","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/salesforce\/2016\/05\/05\/usage-of-interactive-apex-debugger\/","title":{"rendered":"Usage of Interactive Apex Debugger"},"content":{"rendered":"<p><strong>Introduction:<\/strong><br \/>\nIn Winter&#8217;16 release, Salesforce offered a new &#8220;Apex Interactive Debugger&#8221; 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.<\/p>\n<p>Interactive debugger is being offered as an eclipse plug-in as shown below.<\/p>\n<p><a href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/05\/Eclipse-Plugin.png\" target=\"_blank\" rel=\"noopener\"><img fetchpriority=\"high\" decoding=\"async\" class=\"wp-image-1806 size-full aligncenter\" src=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/05\/Eclipse-Plugin.png\" alt=\"Eclipse Plugin\" width=\"664\" height=\"428\" \/><\/a><\/p>\n<p>Install the Debugger add-on for the Eclipse plugin and you can use it same as debugger of other languages.<\/p>\n<p><a href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/05\/Eclipse-Plugin-2.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"wp-image-1807 size-full aligncenter\" src=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/05\/Eclipse-Plugin-2.jpg\" alt=\"Eclipse Plugin 2\" width=\"425\" height=\"193\" \/><\/a><\/p>\n<p><strong>Working:<\/strong><br \/>\nThe 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.<\/p>\n<p><strong>Pros &amp; Cons:<\/strong><br \/>\n<em>Pros:<\/em><br \/>\na) It&#8217;s pretty fast.<br \/>\nb) Works well for triggers.<br \/>\nc) Works well for Page controllers.<br \/>\nd) Works well for Apex lightning controllers.<\/p>\n<p><em>Cons:<\/em><br \/>\na) Each time metadata on the project gets saved, your session gets expired.<br \/>\nb) It is not freely available. In this way we can connect to the ERP system from Salesforce.<\/p>\n<p><span style=\"font-size: Medium;\"><strong>About Us<\/strong><\/span><br \/>\n<a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a>\u00a0as 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.<\/p>\n<p><a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a>\u00a0has some unique solutions for Cloud CRM such as Salesforce integration with\u00a0<a href=\"https:\/\/www.greytrix.com\/product\/sage-x3\/gumu-x3-salesforce-integration\">Sage Enterprise Management (Sage X3<\/a>),\u00a0Sage Intacct, <a href=\"https:\/\/www.greytrix.com\/product\/sage-100-erp\/gumu-100-salesforce-integration\">Sage 100\u00a0<\/a>and\u00a0<a href=\"https:\/\/www.greytrix.com\/product\/sage-300-erp\/gumu-300-salesforce-integration\">Sage 300 (Sage Accpac)<\/a>. We also offer best-in-class Cloud CRM\u00a0<a href=\"https:\/\/www.greytrix.com\/product\/crm-development\/salesforce-com\">Salesforce customization and development services<\/a> along with services such as Salesforce <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/data-migration-services\">Data Migration<\/a>, <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/integrated-application-development\">Integrated App development<\/a>, <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/custom-development\">Custom App development<\/a> and <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/maintenance-support\">Technical Support<\/a> to business partners and end users.<\/p>\n<p>Greytrix GUMU&#x2122; integration for Sage ERP \u2013 Salesforce is a 5-star app listed on <a href=\"https:\/\/appexchange.salesforce.com\/listingDetail?listingId=a0N30000000psM5EAI\" target=\"_blank\" rel=\"noopener\">Salesforce AppExchange<\/a>.<\/p>\n<p>For more information, please contact us at\u00a0<a href=\"mailto:salesforce@greytrix.com\">salesforce@greytrix.com<\/a>. We will be glad to assist you.<\/p>\n<p><strong><span style=\"font-size: Medium;\">Related Posts<\/span><\/strong><\/p>\n<ul>\n<li><a href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/2016\/03\/29\/salesforce-security-health-check\/\" target=\"_blank\" rel=\"noopener\">Salesforce Security Health Check<\/a><\/li>\n<li><a href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/2016\/03\/29\/wave-analytics\/\" target=\"_blank\" rel=\"noopener\">Wave Analytics<\/a><\/li>\n<li><a href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/2016\/03\/29\/resolving-unable-to-lock-row-issue-in-test-class\/\" target=\"_blank\" rel=\"noopener\">Resolving Unable to Lock Row Issue in Test Class<\/a><\/li>\n<li><a href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/2016\/03\/28\/how-to-configure-email-deliverability-settings-for-email-notification\/\" target=\"_blank\" rel=\"noopener\">How to configure Email Deliverability Settings for Email Notification<\/a><\/li>\n<li><a href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/2016\/03\/25\/duplicate-data-management-in-salesforce\/\" target=\"_blank\" rel=\"noopener\">Duplicate Data Management in Salesforce<\/a><\/li>\n<\/ul>\n<p><!--googleon: index--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: In Winter&#8217;16 release, Salesforce offered a new &#8220;Apex Interactive Debugger&#8221; 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\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2016\/05\/05\/usage-of-interactive-apex-debugger\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[13,87,367],"class_list":["post-1805","post","type-post","status-publish","format-standard","hentry","category-gumu-salesforce","tag-apex","tag-debugger","tag-salesforce"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/1805","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/comments?post=1805"}],"version-history":[{"count":2,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/1805\/revisions"}],"predecessor-version":[{"id":4435,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/1805\/revisions\/4435"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/media?parent=1805"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/categories?post=1805"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/tags?post=1805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}