Can't get debugger to work
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.
This happens with all the unit tests I am trying to debug. I am using the full debugging setting.
Comments (8)
-
repo owner -
reporter Okay, thanks!
-
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 bothAPEX_CODE
andSYSTEM
. -
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
-
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.
-
repo owner - changed status to resolved
Prospective fix delivered in 1.7.9.6.
-
reporter Thanks, Scott! The fix appears to get debugging working properly on my installation.
-
repo owner Thanks for confirming, Jeff!
- Log in to comment
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.