Questions tagged [debug]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
34
votes
2answers
17k views

Error while updating debug log trace flag

I am trying to update the debug log trace flag for my user but getting the following error Having an active trace flag triggers debug logging. You have 259 MB of the maximum 250 MB of debug logs. ...
13
votes
9answers
10k views

Delete all in Debug log

Delete all option in Debug log deletes the log page-wise. Is there any option to delete all the logs in debug at an instance?
12
votes
2answers
3k views

What is Debug level in new Salesforce Edition?

I wanted to set the debug log to test a class but today after few days when I was trying to set it, I saw its new look and feel in winter'16 release. It asked for event, level etc. I am unable to set ...
5
votes
1answer
669 views

Logs always showing ENTERING_MANAGED_PKG in dev org

I am developing in a namespaced DE org (not packaged yet) and using standard SFDC_DevConsole debug levels (Apex = Debug, System = Debug, DB = Info) with no trace overrides. But all I see in the logs ...
0
votes
1answer
25 views

why debug statement show Id instead of name while test class execution?

I run the test class and try to capture the permission set name in debug. But i got Id than name. Any reason why I am getting this ? Please help me to understand. See the image, what i query in ...
17
votes
1answer
11k views

Debug logs not working for Site Guest Users (Force.com sites) after the Winter 17 release [duplicate]

Recently our team has noticed that turning on the Debug Logs for a Site Guest User has stopped working. Prior to the Winter 17 release, if you turned on Debug Logs for a Site Guest User, logs appear ...
25
votes
3answers
2k views

Writing too much to debug log would affect APEX trigger or Visualforce page performance?

In order to debug we usually write chunks of data to the debug log using System.debug statements. Will writing too many debug logs affect visualforce page or Apex performance in any way?
4
votes
1answer
619 views

Debug Log Traced Entity Type Apex Class

I am setting the debug log Entity Type to APEX Class and it is not logging anything when I call the class. The class I am setting it as is definitely being called, the date/time is set to 24 hours ...
4
votes
2answers
957 views

Debug logs in developer console?

I am troubleshooting some performance issues with inbound integration to Salesforce. When some data is being sent by external system to Salesforce, the response time of Salesforce to external system ...
4
votes
1answer
382 views

Debug log - CPU Time limit issue

I have specified the query limit as 210 records for which the CPU time limit shows as 14195ms but the maximum CPU time limit seems to be 10000ms in debug log. Maximum CPU time : 14195 out of 10000 ***...
4
votes
1answer
2k views

Get Debug Logs with specified log levels for Execute Anonyous via APEX ToolingAPI, SoapAPI or anyhow

A) via ToolingAPI I'm trying to execute apex-code via public ExecuteAnonymousResult executeAnonymousEncoded(String body) of the ToolingAPI.cls from within APEX. So far it works. But I was not able ...