• damienradtke
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

In particular, I can't get this program to respond with any debug logs: https://gist.github.com/dradtke/7602458. It's a small Java program that logs in, executes some anonymous apex, and prints out the results. It works fine if the code fails to compile or runs into an error, because those values are pulled directly from the ExecuteAnonymousResult, but I can't get it to respond with any information when it succeeds. I used the tip listed here to try and pull the debug info, but conn.getDebuggingInfo() always returns null.

 

Any tips on what might be going wrong?

In particular, I can't get this program to respond with any debug logs: https://gist.github.com/dradtke/7602458. It's a small Java program that logs in, executes some anonymous apex, and prints out the results. It works fine if the code fails to compile or runs into an error, because those values are pulled directly from the ExecuteAnonymousResult, but I can't get it to respond with any information when it succeeds. I used the tip listed here to try and pull the debug info, but conn.getDebuggingInfo() always returns null.

 

Any tips on what might be going wrong?