Running anonymous apex consumes/deletes user trace flags in Salesforce
I'm trying to debug queued apex. All I get in the initial queuing log in Illuminated Cloud is the success that I queued things (as I would expect.)
I'm trying to run debugging on the queued items as they execute, but any user traces I set up get taken over by Illuminated Cloud and expired as soon as the anonymous apex completes.
I've tried setting up multiple user traces with different debug levels, but they are disappeared by IC.
Comments (6)
-
Account Deactivated -
repo owner Sorry for the delayed response, June. Been head-down on Lightning. Sorry for the inconvenience, both of you. I'll make this less intrusive so that it's only managing its own trace flags and not messing with yours!
-
reporter Heh -- I love that two days is a delayed response! Thank you!
-
repo owner - changed version to 1.7.1.5
-
assigned issue to
This should be fixed in the next release. I'm only deleting trace flags now that I explicitly created in conjunction with my own log levels.
-
reporter Thank you!
-
repo owner - changed status to resolved
Delivered in 1.7.1.5.
- Log in to comment
I'm facing the same issue and need to setup new trace flags anytime I use the anonymous apex feature.