Force.com IDE Developer Guide
Winter '23 (API version 56.0)
Summer '22 (API version 55.0)
Spring '22 (API version 54.0)
Winter '22 (API version 53.0)
Summer '21 (API version 52.0)
Spring '21 (API version 51.0)
Winter '21 (API version 50.0)
Summer '20 (API version 49.0)
Spring '20 (API version 48.0)
Winter '20 (API version 47.0)
Summer '19 (API version 46.0)
Spring '19 (API version 45.0)
Winter '19 (API version 44.0)
Summer '18 (API version 43.0)
Spring '18 (API version 42.0)
Winter '18 (API version 41.0)
Summer '17 (API version 40.0)
Spring '17 (API version 39.0)
Winter '17 (API version 38.0)
Summer '16 (API version 37.0)
Spring '16 (API version 36.0)
Winter '16 (API version 35.0)
Get Started with the Apex Debugger
Enable the Apex Debugger
Install or Update the Force.com IDE Plug-In for Eclipse
Set Up a Permission Set
Create a Project
Test Your Debugger Setup
Whitelist Users and Request Types
Manage Debugging Sessions
Solutions to Common Force.com IDE Problems
Force.com IDE Release Notes
Set Up the Apex Debugger
Complete these tasks to get the Apex Debugger ready for use in your Salesforce org
and on your workstation.
Force.com IDE is in a maintenance-only state. We still provide support for the product through our official channels, but updates prior to October 12, 2019 will be only for critical security issues that arise. On October 12, 2019, we will no longer provide support or updates of any kind for Force.com IDE. On that date, we will also begin archiving documentation and removing download links for the product. We recommend that you start migrating to Salesforce Extensions for Visual Studio Code or one of the great tools made by our partners. For more information, see The Future of Salesforce IDEs on the Salesforce Developers Blog.
Warning
-
Enable the Apex Debugger
Performance and Unlimited editions include one Apex Debugger session. Some services and subscriptions include the debugging feature for an extra cost. For pricing details, contact your Salesforce account executive. After Salesforce grants licenses for the Apex Debugger to your production org, match your production license counts to your sandbox. -
Install or Update the Force.com IDE Plug-In for Eclipse
The Apex Debugger is part of the Force.com IDE plug-in for Eclipse. Before you set up the Debugger, install or update the Force.com IDE. -
Set Up a Permission Set
Create a permission set for Apex Debugger users, and assign it to users in your org who plan to use the Debugger. -
Create a Project
If you’re new to using the Force.com IDE, set up a project. If you plan to debug an existing Force.com IDE project, skip these steps. -
Test Your Debugger Setup
To make sure that everything is functioning properly, create a simple Apex class, set a breakpoint in your code, and then hit the breakpoint using Execute Anonymous. -
Whitelist Users and Request Types
Filter which requests are debugged by setting up whitelisting. If you don’t use whitelisting, all events in your org trigger debugging during a debugging session. Whitelist users or request types to focus only on the events that are relevant to the problem you’re debugging.