5

I open the Execute Anonymous Window and Execute the following test line:

System.debug('Hello');

And nothing appears on the Log tab.

Any idea?

  • 3
    Did you open the debug options and set the timeframe? I have to do it every time I open the dev console as it will not just start logging. Very annoying – Eric Sep 25 '14 at 2:05
  • Where are the options Eric? – Lut Sep 25 '14 at 2:57
  • Debug -> Change Log Levels – Eric Sep 25 '14 at 3:16
  • @Eric, you shouldn't have to. Try deleting all your trace flags, the open the dev console to see if it starts logging for you automatically. – Thomas Sep 25 '14 at 15:47
  • The Change Log Levels/Expiration has a yellow highligtht "12:NaN PM", I have no idea how to set the timeframe. I am having a hard time to find documentation on this. – Lut Sep 25 '14 at 16:51
3

It now works. I do not know exactly what it made it work.

But this is what I did:

  1. Deleted trace flags

  2. Moved Expiration to an arbitrary value of 4:00 PM

  3. Closed the console

  4. Opened the console

  5. Expiration went back to "12:NaN PM" (still highlighted)

Weird, but it works.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.