+ Start a Discussion
willardwillard 

cannot see the full status detail on apex jobs monitor

Is there a way?  I am trying to debug, but I cannot see the full status detail on the apex jobs monitor.

 

I am invoking a job that sends a synchronous job to a external webservice.  The webservice call is fine, but I am getting an error back when processing the response.  I cannot see the entire error so am having trouble debugging.

Best Answer chosen by Admin (Salesforce Developers) 
Ritesh AswaneyRitesh Aswaney
Sounds like your looking on the monitoring > apex jobs screen

Set up debug logging on monitoring > debug logs for the executing user
Throw in some system.debug statements in your code. Is so maybe surround the as fallout with a try catch and catch the exception and print it out to system.debug

Then look in your debug logs Setup > Monitoring > Debug Logs and you should hopefully get a bytes picture.

All Answers

Ankit AroraAnkit Arora

Are you getting "Maximum Debug Log Size Reached" at the end of the log??

 

 

Thanks
Ankit Arora

 

Ritesh AswaneyRitesh Aswaney
Sounds like your looking on the monitoring > apex jobs screen

Set up debug logging on monitoring > debug logs for the executing user
Throw in some system.debug statements in your code. Is so maybe surround the as fallout with a try catch and catch the exception and print it out to system.debug

Then look in your debug logs Setup > Monitoring > Debug Logs and you should hopefully get a bytes picture.
This was selected as the best answer
Ankit AroraAnkit Arora

Ohh is it, this is strange if you have not enabled the debugging :P

 

 

Thanks
Ankit Arora