unable to step through breakpoints in debug mode from test class

Issue #369 resolved
ketchyn created an issue

I have a test class for trigger When I'm launching some test method it doesn't get to the breakpoint instead of it debugger steps to the first line of the test class and next step finish debug

1) test method which will insert reference objects(refs) firstslide.png

2) breakpoint is set up on the reference trigger

secondpost.png

3)as a result I have been transported on the first line of test class and test method has already finished execution

thirdpost.png

Comments (4)

  1. Scott Wells repo owner

    Can you take a look at the log associated with the test execution and make sure that the logging levels were set to FINEST for APEX_CODE and SYSTEM? Should be the first line of the log.

  2. ketchyn reporter

    Yes it started working, it was something wrong with logs configuration , but on another sundbox org problem remains, but maybe it worth additional testing to find out what is going on second org

  3. Scott Wells repo owner

    Glad to hear it's working for you. It's probably not anything with that org, though. I've found that logging can be a bit fickle. I've tried to accommodate for it as well as I can, but there are times when I can see the trace flag set to one set of levels, e.g., FINEST for the things needed for debugging, and the log will still come back at a much lower level. Generally I can get around this by forcing a recreation of the trace flag, then starting the debug process again. Annoying, but part of using a debugger based on logs, I guess!

  4. Log in to comment