Haven't used the Developer Console yet? What are you waiting for?
What is the Developer Console?
The Developer Console is a collection of tools you can use to create, edit, debug and test applications in your Salesforce organization. Use it for many development tasks:
Access and Edit Source Code
Use the Developer Console to create, edit and manipulate objects and components, including Apex and Visualforce components. You can edit source files and switch between them with a single click, navigate the contents of packages created in your organization, view object definitions, and create and edit a wide range of source files.
Execute SOQL Queries
Use the Query Editor tool in the Developer Console to query data from your organization, then create, update, and delete data in the Query Results view.
Debug and Troubleshoot
Use Developer Console tools to inspect debug logs that include database events, Apex processing, workflow, and validation logic. For example, if you want to understand why a certain request generates a specific error, you can review the execution, identify the offending logic, and set a heap dump capture marker at that point. You can then execute the process again, and inspect the request at that specific point in the execution to understand in detail how to improve your code.
Test Apex Code
Use the Tests tool in the Developer Console to run Apex unit tests and check code coverage. Unit tests are class methods that verify whether a particular piece of code is working properly.
Analyze Code Performance
The Developer Console includes a number of panels dedicated to analyzing performance. For example, open a debug log and view the aggregated performance of any operation in the Performance Tree.
Where is the Developer Console?
To open the Developer Console, click Your Name | Developer Console or navigate to Setup | Develop | Tools and click the Developer Console link.
The Developer Console opens in a separate window. The UI is organized into the following sections:
- A global toolbar.
- A navigation panel for creating and opening resources. Each tab in the navigation panel is a Developer Console tool.
- A workspace for working with resources, with a selection of useful views (tabs).
- A panel with Problems and Progress tabs for viewing real-time execution data.
- Watch the Advanced Testing & Debugging Using the Developer Console webinar recorded on April 3, 2013.
- Force.com Blog: Where to Run Apex Tests
- Developer Console User Interface Overview
- Examples of Using the Developer Console
- Executing Anonymous Apex Code
- Working with Logs in the Developer Console
- View the Diving into the Developer Console webinar from February 8, 2012.