Can't get debugger to work

Issue #653 resolved
Jeff Mather created an issue

Hi Scott, I'm trying to use the debugger to determine why unit tests (written by someone else) are failing. But, the debugger won't let me step through the code. It highlights the first line in the file (as shown below), and then if I hit any of the step buttons, the debugger exits.

debugger.jpg

This happens with all the unit tests I am trying to debug. I am using the full debugging setting.

Comments (8)

  1. Scott Wells repo owner

    I hit this today, too, as I was trying to debug a unit test! There's some issue on the Salesforce side where it's not setting the logging levels properly. As a result, the logs are at too low a level for debugging. I've already reported this to the Tooling folks at Salesforce who said they're investigating what appears to be a related (hopefully the same) issue. I'll use this bug to report progress as I hear it from them.

  2. Scott Wells repo owner

    Jeff, is this still happening for you? It's working properly for me suddenly. You can tell because if you flip to the Console tab in the debugger view and look at the top of the log, the log level should be FINEST for both APEX_CODE and SYSTEM.

  3. Jeff Mather reporter

    It's still not working for me. The top of my log says:

    24.0 APEX_CODE,DEBUG;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WAVE,INFO;WORKFLOW,INFO

  4. Scott Wells repo owner

    Okay, thanks for confirming. I'm still working with the Salesforce guys on this issue since I was definitely seeing it earlier. They're looking at some server logs now. Hopefully they'll see something obvious and we'll get this resolved soon.

  5. Log in to comment