Skip to main content

Questions tagged [debug-logs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
0 answers
168 views

Error when trying to debug "Apex language server could not provide information about valid breakpoints"

Every now and then when I want to start a debug sessions from a log file, I receive the following error: Apex language server could not provide information about valid breakpoints I have a workaround,...
PieterJacob's user avatar
3 votes
1 answer
118 views

Debug Log shows Flows executing in a different order to Flow Trigger Explorer

Just wondering if someone can help me to understand what I'm seeing in our org. I'm trying to document the order in which our automation runs when a Lead is created. My problem is that I'm seeing ...
Matt's user avatar
  • 81
0 votes
1 answer
36 views

No logs for a specific custom Sobject

I use the developer console every day for debug. Today I have a strange behaviour : On one SObject, when I edit any record in the UI and make (or not) any change, then save it, I get no log in the ...
Emmanuel BRUNO's user avatar
0 votes
0 answers
56 views

Unexpected behaviour when firing a apex method

I have this piece of code: public static void initTraitementBillingApi() { String methodName = 'traitementDPF'; ObjectUtil.debugLogBegin(CLASSNAME, methodName, ''); //String periode = ...
Fabien Braconnier's user avatar
2 votes
1 answer
647 views

Reading Debug Logs to Determine What's Using CPU TIme

There is a flow running that attempts to insert ~150 opportunities. It is failing with a CPU Time Limit Exceeded error. When I attempt to reproduce the issue using debug on the flow, I'm getting ...
Jeff's user avatar
  • 145
2 votes
1 answer
1k views

Error when trying to debug log file: Unable to retrieve breakpoint info from language server, language server is not ready

I receive the following error when trying to debug a log file: Unable to retrieve breakpoint info from language server, language server is not ready. I already reloaded my VS Code window, what ...
PieterJacob's user avatar
1 vote
1 answer
166 views

There is a way to download developer console debug logs filtered?

Hi Guys! There is a way to download developer console debug logs filtered? I made this filter on developer console and my wish is to download only this and not all debug file.
Hugo Corrêa's user avatar
0 votes
1 answer
147 views

Debug log do not trigger for Mobile actions

I have a custom detail page vf button on Opportunity, once the user clicks it, it runs few validations and redirects to another vf page. It works in Lightning experience in PROD and Sandbox in browser ...
user5352's user avatar
  • 1,707
0 votes
1 answer
2k views

execute method of batch apex not running from anonymous window

I have a batch apex that I made few changes. The functionality of the batch apex is to pull assets of a specific record type, and updates a specific field to true based on a criteria. To test my ...
Balaji Pooruli's user avatar
1 vote
1 answer
107 views

Capture debug log via subscriber access

I am getting an exception from managed package code and I need to capture debug logs via Subscriber access so that all details from managed package code are displayed. How can I enable this setting to ...
devsfdc's user avatar
  • 441
0 votes
0 answers
621 views

`sfdx force:apex:log:tail` to only show [USER_DEBUG] logs not working

I'm connected to a Playground org in VS Code. I have made and deployed a class to this org and would like to run some anonymous code in VS Code to test a method of the class. I was able to do this by ...
user135792's user avatar
3 votes
0 answers
106 views

Formatting and color of values of objects logged in chrome devtools is unreadable in dark mode

After the Winter 23' release added Lightning Web Security I started having a problem viewing the values of JavaScript objects. Correct me if I'm wrong but to debug LWC in chrome devtools with LWS ...
Monakus's user avatar
  • 31
0 votes
0 answers
748 views

Scheduled Apex Batch job taking too long to execute

I have one batch job which delete old account associations then create new account associations & update fields[ For which logic is written in a trigger] Previously it was taking less time, it ...
Trupti Jagtap's user avatar
1 vote
0 answers
57 views

Replay Debugger Filters

Does anyone knows if we are able to filter Replay Debugger Logs? I mean, lets say we have a collection of data, which will be iterated 1000 times. Let's say we are interested to see what data are ...
JNR's user avatar
  • 11
6 votes
1 answer
6k views

Proxy on all Objects and Arrays logged in LWC - Salesforce

Good afternoon, Witnessing strange behavior today in the browser's developer console when logging objects and arrays from my lightning web component. All objects and arrays are being logged as "...
Blake's user avatar
  • 131
2 votes
1 answer
263 views

Prevent flows from writing sensitive data to debug logs in plaintext

We have a screen flow that collects a password from the user using a Password field component. That masks the input on screen, but when looking at debug logs, the value of that field gets written to ...
Ryan Brubaker's user avatar
0 votes
0 answers
1k views

Can't view debug logs in Developer Console - Failed to load data Log from Salesforce.com: Salesforce automatically deletes system logs 24 hours

The following error is coming up in a Sandbox Developer Console no matter what I try and it's been like this for weeks. Video: https://www.screencast.com/t/ULztMIi0edS0 Failed to load data Log from ...
rmarq423's user avatar
  • 977
0 votes
1 answer
1k views

Salesforce event monitoring log access required permissions

Have a requirement to create a permission set which will allow users to access the event log monitoring files. As per this link https://help.salesforce.com/s/articleView?id=000363350&type=1 User's ...
user3429270's user avatar
0 votes
0 answers
816 views

How to Find Debug Logs in Apex Test Class

Hey there this is my first Apex code and I'm having trouble finding my debug logs. Heres my Trigger and Test Class First, then below I'll try and explain all that I've tried so far. trigger ...
Grayson Lievens's user avatar
1 vote
0 answers
89 views

Help with understanding debgf log on a decision element in a flow

I'm trying to understand what these lines mean when it says true and false on my debug log. Line 1 says False | False Line 2 says true | False Line 3 says true Line 4 says just false What does the ...
Hulk Buster's user avatar
1 vote
1 answer
562 views

Developer Console: Keep constantly open without stopping producing debug logs

If i open developer console and leave it open without any activity, i get a message after (e.g. 1hr) that "Your Developer Console session has been idle. To resume logging and listening for ...
Giorgos Galaios's user avatar
1 vote
2 answers
603 views

Hide Debug Logs of Managed package

We have a managed package installed, where we have performed several customizations. Now, it is needed to test the whole solution end-to-end. But i have to issues: Managed package has a VF page ...
Giorgos Galaios's user avatar
0 votes
1 answer
283 views

How to override logging on a particular APEX class

The document Debug Log Filtering for Apex Classes and Apex Triggers says log filtering can be "turned off" for a particular class. How is this done? I have a class1 calling calling class2. ...
premkris's user avatar
0 votes
1 answer
266 views

Debug log for AccountContactRelation trigger doesn't show up on after delete

I have a trigger on AccountContactRelation object, which tracks after update and after delete events. When I update ACR record - I see the log on the after update trigger transaction. But when I ...
Duck The Developer's user avatar
1 vote
0 answers
148 views

Apex Log manager needed, or way how to filter big amount of logs

I'm looking for some tool, or extension for managing/ searching Apex logs. My main problem is I can produce very easily, a lot of logs by myself and ofc I'm not alone. Basically, when I reload one ...
karmelos's user avatar
0 votes
1 answer
685 views

Apex Debug logs not showing Statement executes

I am trying to run a batch class from anonymous window. In the debug logs i am not getting the statement executes. Only method entry/exit is showing. Debug level for apex is set to finest. It keeps ...
Swap31's user avatar
  • 33
-3 votes
2 answers
923 views

Is it possible to know WHY SOQL retrieves EMPTY?

I have a SOQL in an APEX Class, and it works okay when I'm logged as a System Administrator User, but it gets empty when I log as a different user. I suppose it could be permissions and field ...
CPS's user avatar
  • 365
0 votes
0 answers
92 views

High API usage, repeated calls!

Over the weekend our Salesforce environment is now getting thousands of API calls every hour. We have custom integrations that have not changed, nor have any API's been deprecated, or any server ...
kkarron's user avatar
0 votes
2 answers
498 views

Get Logs on User Password Reset Button

Greetings Salesforce Friends! I've got a bit of a weird situation around Users in a Community getting the wrong email when we use the User Record Reset Button. Is there a way to get the logs for this ...
thinker's user avatar
  • 1,442
0 votes
1 answer
659 views

What is the 'SFDC_Devconsole' debug level?

I am trying to retrieve error logs for a batch apex class and am creating a new user trace flag for the running user. The standard preset is 'SFDC_Devconsole' - will this trigger debug logs to show ...
patriciajlim's user avatar
1 vote
1 answer
334 views

Is there a way to check @RestResource usage frequency?

Can you please tell me, if there is a way to check @RestResource usage frequency? Short summary: I have a legacy @RestResource which is supposedly not used by anyone. I want to check that. I have ...
Mariia Illarionova's user avatar
1 vote
1 answer
4k views

Logs for flow execution are not detailed

I am building a basic public page form on the salesforce communities, creating a 'Property lead' record in our org. By giving edit access to 'Guest User' I can create the records with no problems. I ...
Priyank Saklani's user avatar
-1 votes
1 answer
2k views

How can I capture Debug Logs for Web to Lead form?

The error is Salesforce could not create this lead because of the reason listed below. For more information about this error or help with Web-to-Lead, please contact Customer Support. Reason: Use one ...
SalesforceLearner's user avatar
6 votes
1 answer
687 views

Is there a way to create Trace Flags for certain user using SFDX?

I'm just tired of manually setting trace flags on my org. My question is, is it possible in any way to create trace flags using SFDX? Or is there any APEX script to create these trace flags for ...
Rechu's user avatar
  • 452
0 votes
1 answer
118 views

EDA: Enabling debug logs

I am working on creating some classes on top of EDA package. Inside the EDA package, there are some debug statements which is controlled by a field Enable_Debug__c on Hierarchy Settings custom ...
nica's user avatar
  • 1,410
0 votes
1 answer
124 views

Difference between sending leads into Dev account as opposed to Sandbox account? Leads not sent into Sandbox with similar settings as Dev account

We have created a webapp to send Leads into the salesforce system, which works great in our Dev account. However when using the same app for another business, which has a Sandbox account, the Leads ...
Kim K.'s user avatar
  • 41
0 votes
1 answer
232 views

Is there a debug log level for Salesforce Streaming?

Is there a debug log level for Salesforce Streaming ? For example, let's say that, I have subscribed to PushTopic or Platform Events? Is there a debug log level setting which allows to see the logs ...
a3.14_Infinity's user avatar
1 vote
2 answers
4k views

Standard Rest API - Logs

In my organization I am doing a simple standard Rest API Call to insert Account: URL : https://MyInstance.salesforce.com/services/data/v51.0/sobjects/Account Body : { "Name"...
Raphael D's user avatar
  • 616
0 votes
1 answer
1k views

FATAL_ERROR|System.QueryException: expecting a colon, found ')'

We have issue with one of the apex class which stopping us from configuring a record through lightning component. When we debugged the issue we found this error in debug logs and could not identify ...
Samuel Robert's user avatar
1 vote
2 answers
1k views

VSCodedx is no longer showing execute anonumous debug logs in the output panel

All of a sudden my vscode isn't showing the debug logs from execute anonymous in the output panel. Other messages show up in there such as when I deploy a source to org, Turn on apex debug log for the ...
Bahman.A's user avatar
  • 868
2 votes
1 answer
3k views

Who runs Email-to-Case

I am trying to debug the case trigger when I create a case via Email-to-Case. But I don´t know which user run the trigger. Any help?
manukadi's user avatar
0 votes
0 answers
266 views

Salesforce Debug log shows statements even after Fatal Error statement

I am perplexed by something i see in debug log, and this could be very stupid question. We have a parentObject and ChildObject (its not mater detail... just lookup relation). We perform some update on ...
user2957592's user avatar
3 votes
0 answers
557 views

Why doesn't flow debug info show in my debug log?

I'm logged into Salesforce Lightning, Health Cloud Admin I open the Developer Console and set the flow debug levels to finer I go to an Account record and click Schedule Appointment I complete the ...
Chris P's user avatar
  • 31
-1 votes
1 answer
757 views

Facing heap size issue when querying and processing apex logs in LWC component

We are creating a apex log table and users will select a log and we need to show the log body to them. While implementing this we are facing apex heap size issue. From the UI users will select the log ...
Ram's user avatar
  • 24
0 votes
2 answers
212 views

Logging via debug logs

I wanted to ask about debug logs, in my application I need to pass data from Visualforce page to apex class every time I get some message from server. So every time I get a message I call apex ...
Badar's user avatar
  • 45
2 votes
1 answer
1k views

What is the difference between "System debug logs" and "Monitoring debug logs"

The Salesforce article on debug logs (currently found here) states that "System debug logs are retained for 24 hours. Monitoring debug logs are retained for seven days." What is the ...
Joe Flowers's user avatar
2 votes
1 answer
2k views

How can I see debug logs, when the record is created by System as a user?

I am trying to setup a trace flag to debug. When I select User in the dropdown and try to find System in there. It doesn't show up. What can I do ?
manb's user avatar
  • 95
0 votes
0 answers
30 views

How to check debug logs for trigger when executed from the front end? [duplicate]

How can I check the debug logs for my trigger when some goes to my website and clicks a button that inserts records on salesforce?
manb's user avatar
  • 95
0 votes
0 answers
274 views

Debug Log In subscriber org (managed package) not working

I am logged in to the subscriber org through LMA (subscribers)... and I still just get do detail in the log. Supposedly we should see full detail when logged in through LMA. I do recall this working a ...
dacology's user avatar
  • 2,992
-1 votes
3 answers
8k views

How to setup debug log for batch apex

I have a batch 'mytestbatch' which runs everyday through scheduler. This batch will update more than 15lakhs records. During execution mytestbatch is throwing an error 'First error: Attempt to de-...
Vignesh S's user avatar