function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
waylonatcimwaylonatcim 

Anonymous execution in IDE

I can't help but feel like I'm just having a brain fart here, but is there any reason why running the following code in the "Execute Anonymous" tab of the IDE would only display "Anonymous execution was successful." in the results box?

 

 

System.Debug('Hey There!');

 

Thanks!

 

Best Answer chosen by Admin (Salesforce Developers) 
JonPJonP

This has been identified as a server-side change in Spring '10.  We are restoring the previous behavior, and the fix is expected to go out before the end of next week.  Once it's in place, your existing Force.com IDE will once again display log results in the Execute Anonymous window.

 

Jon

salesforce.com Product Manager 

All Answers

waylonatcimwaylonatcim
Forgot to mention that I have already tried adjusting the Log level and log category.
SteveBowerSteveBower

I get this:

 

 

Anonymous execution was successful.

20100130053304.743:AnonymousBlock: line 1, column 1: Hey There

Cumulative resource usage:

Resource usage for namespace: (default)
Number of SOQL queries: 0 out of 100
Number of query rows: 0 out of 10000
Number of SOSL queries: 0 out of 20
Number of DML statements: 0 out of 100
Number of DML rows: 0 out of 10000
Number of script statements: 1 out of 200000
Maximum heap size: 0 out of 2000000
Number of callouts: 0 out of 10
Number of Email Invocations: 0 out of 10
Number of fields describes: 0 out of 10
Number of record type describes: 0 out of 10
Number of child relationships describes: 0 out of 10
Number of picklist describes: 0 out of 10
Number of future calls: 0 out of 10
Number of find similar calls: 0 out of 10
Number of System.runAs() invocations: 0 out of 20

Total email recipients queued to be sent : 0
Cumulative profiling information:

No profiling information for SOQL operations.

No profiling information for SOSL operations.

No profiling information for DML operations.

No profiling information for method invocations.

 

 

 

If I slide the slider over to Finest, I get more.  

SteveBowerSteveBower
However, if I do it in a Sandbox instead of product, I get what you got... hmmm
SteveBowerSteveBower
... instead of Production....   **bleep** typos.  :-)
waylonatcimwaylonatcim

Thanks for the reply.

 

I just tested on a production account and it worked as expected.  I wonder if this is something with the new spring '10 release?

JonPJonP

This has been identified as a server-side change in Spring '10.  We are restoring the previous behavior, and the fix is expected to go out before the end of next week.  Once it's in place, your existing Force.com IDE will once again display log results in the Execute Anonymous window.

 

Jon

salesforce.com Product Manager 

This was selected as the best answer
waylonatcimwaylonatcim
Great, thanks for the update!