Category: IDE

Apex Debugger || All you need to know || Advanced Configuration

This post is in continuation of my previous post where I have explained the basic configuration of Apex Debugger. If you haven’t gone through that, I would request you to please go here.So with the assumption that you have configured Apex Debugger correctly and can do debugging, in this post, I will explain some advanced configurations which you can do with Apex Debugger.So let’s start -Choose for which user you want to enable the Apex Debugger – You can choose the user for which you want to enable the Apex Debugger. For that open Debug Configuration. Then check the Whitelisting Enabled and Use SOQL where clause option. Then put the where clause. For example in the below screenshot, I have put the ID of the user and clicked on the Query button Choose the request type – With this option you can select the request type for which you want to enable the Apex Debugger. Currently we can enable Apex Debugger for the below options – Execute Anonymous, Inbound Email Service, Invocable Action, Lightning/Aura, Quick Action, REST, Run Tests Synchronous, SOAP, Synchronous, Visualforce, Visualforce Remote Method. If you don’t choose anything, it means it is enabled for all the above types of requests.Choose Entry Point – With this option, you can choose the entry point. For example if you want to enable Apex Debugger for particular Visualforce page, you can...

Read More

Apex Debugger || All you need to know || Basic Configuration

Finally, Salesforce brings Debugging feature. I was waiting for this one for a long time and I am quite sure that many other developers like me also waited for this one.Today in this post, I would like to explain how you can use this feature and make your Salesforce developer life more powerful.Before I start, I would like to mention that this feature is not available in Developer orgs, it is only available in Sandboxes. You need to contact Salesforce to enable this feature in your Sandboxes. There is cost involved in getting this one enabled. To know about the cost, please contact Salesforce.With the assumptions that you have enabled this feature in your Sandbox, you need to setup your Sandbox as well as your Eclipse workplace. Below are the steps mentioned in Salesforce guide -Setup Sandbox for Apex Debugger -Setup IDE -First you need to Install or Update IDE plugin as instructed below -Once done, create a Salesforce project as instructed here. Note – Make sure you mark your Eclipse project as work online.Setup Eclipse Debugger -This is the most important step where you need to setup your Eclipse Debugger. To do that -Click on the Debug Icon in the toolbar and select Debug Configuration. Select Remote Apex DebuggerClick on the New Launch Configuration IconGive some name of your configurationClick Browse and select your projectClick Apply, and...

Read More

Earlier Posts

  • 2024 (31)
  • 2023 (47)
  • 2022 (25)
  • 2021 (35)
  • 2020 (41)
  • 2019 (13)
  • 2018 (16)
  • 2017 (14)
  • 2016 (18)
  • 2015 (74)
  • 2014 (20)