0

So I have just started using eclipse with the Force.com IDE. I am executing code in the anonymous window and it shows me that the execution was successful. However, I have a System.debug(); line in my code and it does not get outputted on the User Debug logs. I have used all the log levels and nothing shows up. Were can I view my debug logs when I run my code?

  • You could try to make the debug statement more important with System.debug(Logginglevel.ERROR, 'Test'); – Basti Oct 31 '17 at 12:29
  • Nothing is still appearing in the user debug logs. – M guy Oct 31 '17 at 12:42
  • 1
    So did you already create a User Trace Flags for your user? The problem is not, that you don't see the debugs, but you don't even see logs right? – Basti Oct 31 '17 at 13:03
  • I have not created a user trace flag. How would I do so? – M guy Oct 31 '17 at 13:34
  • go to developer console and enable debug log for you. then retry. I have seen this problem and sometimes it requires Eclipse restart or passage of time – cropredy Oct 31 '17 at 22:54

Your Answer

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

Browse other questions tagged or ask your own question.