You need to sign in to do that
Don't have an account?
Big Ears
Developer Console - How do Checkpoints work?
Dear all,
I'm struggling with getting checkpoints to do anything for me in the Developer Console:
I've read these 2 pages in the help, but I don't know what I'm missing:
https://help.salesforce.com/apex/HTViewHelpDoc?id=code_dev_console_checkpoints_setting.htm&language=en_US (https://help.salesforce.com/apex/HTViewHelpDoc?id=code_dev_console_checkpoints_setting.htm&language=en_US)
https://help.salesforce.com/apex/HTViewHelpDoc?id=code_dev_console_tab_browser_logs.htm&language=en_US#set_log_levels (https://help.salesforce.com/apex/HTViewHelpDoc?id=code_dev_console_tab_browser_logs.htm&language=en_US#set_log_levels)
Every so often, I attempt to use the Developer Console, but I'm always immediately blocked by a lack of clarity in the functionality and documentation. I've sat through the webinars on the developer console, but can never replicate the behaviours that I see in their examples.
I'm struggling with getting checkpoints to do anything for me in the Developer Console:
- I set the checkpoint in my test class
- I set the debugging logs to "finer" or "finset" on the apex code.
- I run the test class
- Nothing seems to appear in my checkpoints history.
I've read these 2 pages in the help, but I don't know what I'm missing:
https://help.salesforce.com/apex/HTViewHelpDoc?id=code_dev_console_checkpoints_setting.htm&language=en_US (https://help.salesforce.com/apex/HTViewHelpDoc?id=code_dev_console_checkpoints_setting.htm&language=en_US)
https://help.salesforce.com/apex/HTViewHelpDoc?id=code_dev_console_tab_browser_logs.htm&language=en_US#set_log_levels (https://help.salesforce.com/apex/HTViewHelpDoc?id=code_dev_console_tab_browser_logs.htm&language=en_US#set_log_levels)
Every so often, I attempt to use the Developer Console, but I'm always immediately blocked by a lack of clarity in the functionality and documentation. I've sat through the webinars on the developer console, but can never replicate the behaviours that I see in their examples.
- I can never find a useful stack trace (to see where methods have been called from) - Even if I open the "stack trace" view/window
- I can never get checkpoints to work
- The console slows down and becomes unusable very quickly
Thanks for the response! So are checkpoints only used when invoking code in non-test situations? Isn't that potentially dangerous that you'd have to run "real" code in order to get to the root of what's going on? Is there any best practice guidance here?
Andy
The Checkpoint Inspector has two tabs: Heap and Symbols.
Heap—Displays all objects present in memory at the line of code where your checkpoint was executed.
Symbols—Displays all symbols in memory in tree view.
When I run the apex class no second tab opens.
Any ideas?
I had the same problem, but your suggestion worked for me.