• Dave Hagman
  • NEWBIE
  • 0 Points
  • Member since 2014

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

    I have a question about the execute anonymous REST service:
/executeAnonymous/?anonymousBody=ANONYMOUSE_CODE_HERE

I need to also get the HEAP dump from the call, like the debug logs you receive when running anonymous from Developer Console/Eclipse/Mavens etc.

The only response I get is (in JSON):
{
  "line" : -1,
  "column" : -1,
  "compiled" : true,
  "success" : true,
  "compileProblem" : null,
  "exceptionStackTrace" : null,
  "exceptionMessage" : null
}


Has anyone ever done this or know how to do it? I have been scraping documentation for days with no luck. Thanks!
Hey all,

    I have a question about the execute anonymous REST service:
/executeAnonymous/?anonymousBody=ANONYMOUSE_CODE_HERE

I need to also get the HEAP dump from the call, like the debug logs you receive when running anonymous from Developer Console/Eclipse/Mavens etc.

The only response I get is (in JSON):
{
  "line" : -1,
  "column" : -1,
  "compiled" : true,
  "success" : true,
  "compileProblem" : null,
  "exceptionStackTrace" : null,
  "exceptionMessage" : null
}


Has anyone ever done this or know how to do it? I have been scraping documentation for days with no luck. Thanks!