Feedback

Debugging

Writing a clean and functional code is essential for any developer, let alone Salesforce devs, who have to comply with the high coding standards each day. For this purpose, The Welkin Suite IDE offers a complete toolset for conveniently debugging your code and working with the logs within our program.
ico
ico
ico
ico
ico
PMD Apex Support
Welkin Suite New Feature
NEW
Apex Retrospective Debugger

Apex Retrospective Debugger

Say goodbye to the bugs in your code with the help of The Welkin Suite’s Apex Retrospective Debugger! Watch all the calls and operations being executed step-by-step to quickly detect and fix all the problem spots.

Debug Logs

Debug Logs

Understand what happens on your org, and make your development process clearer by analyzing the Debug Logs in The Welkin Suite IDE. Use the broad functionality these logs to catch every bug!

Watch short demo

Since our Retrospective Debugger tool uses the data from the Salesforce Debug logs, you are no longer bound to a certain time to run the debugging process. This way, you can trace which lines of your code were executed, and reproduce the execution at any moment. Also, you are free to analyze all the actions, as well as examine the call stack, any methods and constructor calls that were made, and much more - all for the sake of your productivity and the quality of your code.


In addition, you can not only debug the Log files - you can also debug any Unit test of yours!

Apex retrospective debugger debug process

Get the maximum amount of useful information from the logs with the highlighting of different events in a built-in log viewer. You can filter all the log events to show only user debug messages, and easily explore the way of the execution with the help of a tree view of events dependencies. Also, you can set the most comfortable view - all for the sake of your development comfort. 

Debug Logs Viewer
Debug Logs Polling & Built-in Tree Viewer

Debug Logs Polling & Built-in Tree Viewer

Get all the latest logs in your IDE automatically to be able to view them and search through them all in one place.

Advanced Logs Filtering

Advanced Logs Filtering

Display only the necessary logs that match the criteria you have specified to debug your code faster.

When debugging the code, you usually execute Anonymous Apex, perform some actions in the UI, or start the scheduled jobs, which then produce lots of logs for you to go through. Also, sometimes you may want to track users-generated logs to find the errors or specific actions performed by some user.

The Welkin Suite IDE enables the automated polling of all the new logs from every opened project, so that you always have the latest logs directly in the development tool without switching to other applications or browsers. In addition to the list of log entries, you are able to open any log within our IDE. At that, The Welkin Suite offers a powerful search that helps you find anything in just a few seconds, and hence brings your experience of working with the logs to essentially a new level.

Tree view in debug logs

Typically, the code debugging process is followed by such steps as the execution of Anonymous Apex, performing certain actions in the UI, starting the sceduled jobs - all of which produce lots of logs for you to go through. In most cases your actions would supply you all the information you need quite easily, but sometimes may only you need the specific logs – for instance, those with very long duration, very small or very large logs, failed or succeeded logs, and so on.

You can filter log records manually, or you can use a built-in feature in The Welkin Suite IDE, which allows you to specify custom criteria for each of the following fields: Operation, Application, Start Time, Length, Duration, Status, Request, and Location. Having set these filters, you can continue developing, and you will be notified when a log you need appears in the Logs panel.

Filtering in debug logs
Apex Profiler

Apex Profiler

Instantly analyze the performance of your code with the help of Apex Profiler in The Welkin Suite IDE. 

PMD Apex Support
new feature
NEW

PMD Apex Support

Catch all issues, and make your code 100% safe and bugs free with PMD Apex Support in The Welkin Suite! All you need to check your code is always at hand.

This handy feature allows you to run any test as many times as you would like to in order to receive all the necessary information on the execution time. To help you gather the necessary data during the test run process, The Welkin Suite IDE backs up your log levels, adjusts them in accordance with your preferences, then executes the tests as many times as you have specified, and finally sets the log levels back to the way they were before. 

All of the results of the test runs using the Apex Profiler are displayed in the editor. The results include the entry, the execution time in milliseconds, the cumulative time, SOQL queries, and DML operations - all of which are shown in the call stack view that lets you trace the execution path. 

Apex profiler window

The Welkin Suite helps you to ensure that your code is reliable and clear, right before building any changes to an org. With the built-in PMD Apex Ruleset Configurator, you can create your own ruleset with all the necessary rules and their priorities, or you can use one of the templates that are based on the best development practices. Set different rules for different projects, avoid sending some buggy code to an org by using an option to cancel the build if any PMD issue appears, or just check any Apex file for errors manually — The Welkin Suite will guide you through all the operations.

PMD Apex Support