The tag has no wiki summary.

learn more… | top users | synonyms

4
votes
1answer
59 views

Set Collections not displaying duplicate object records in debug log

When a set collection contains objects such as Opportunities, what is used to determine uniqueness when the same Opportunity record is added to the collection a second time? I'm guessing that the ...
3
votes
4answers
132 views

No log for Visualforce errors

I'm having a problem that I think has something to do with recent version because I don't remember having this problem before. Basically, when I have an error in a Visualforce page, I don't see the ...
1
vote
2answers
55 views

I'm unable to see system.debug statements on a trigger

I created a trigger that looks like this: trigger DG_CM_Trigger on CampaignMember (before insert) { System.debug('DG_CM_Trigger - START'); if (Trigger.isBefore && Trigger.isInsert){ ...
2
votes
2answers
26 views

In System Logs what does the false|true mean for Variables

There's a lot I don't understand about the Execution Logs from Salesforce. Maybe some of it is just my limited programming experience (Apex mostly, smattering of Python). I feel like there must be ...
1
vote
1answer
30 views

Track Why/Why Not a workflow triggered

I have a formula based workflow in place that will automatically check several custom fields and then change the stage. I'm wondering if there is a way to see why a particular workflow failed to ...
1
vote
0answers
94 views

Test Class passes in sandbox/production. Fails during deployment

Requesting insights into another questions. I have test class which gives no error/debug log exception when it's ran individually. But the test class runs during the change set deployment, it fails ...
2
votes
1answer
34 views

How to check what action produced debug log?

Seeking for some insights on how to check which operation produced debug log? Is there something within debug log that signifies what generated it? Usually there's in 'Operation' column there's some ...
4
votes
1answer
124 views

Debug log - limit summary is inaccurate

(edited after I've decided to try out sfdcfox's remarks) I'm rewriting a batch job to (among others) make it run faster. I've attached debug log to my user and monitor the job at random intervals ...
0
votes
1answer
42 views

Monitored Users automatically removed from Debug Logs

As everyone probably knows, When I use Debug logs to monitor codes and processes, I have to specify a “Monitored Users”, Which is in this case myself, But after just a few tests I am removed for ...
1
vote
1answer
104 views

Salesforce debug logs in eclipse?

Is there any way to view Salesforce debug logs in eclise ide? I tried to do some preliminary search but couldn't find anything.
2
votes
1answer
321 views

System.debug messages not showing in debug logs

I noticed all of system.debug messages are not showing up on the debug-logs, since past few days. I even added debug msg at first line and the last line in constructor. Surprisingly, it did not ...
3
votes
1answer
72 views

Start ApexLog capture via the API

When the developer console is opened Salesforce will start capturing ApexLog records for the current user. After a period of time this stops occurring and the user needs to click the resume menu ...
6
votes
2answers
60 views

Troubleshooting strategy for code that's not yours

Six months as the ad hoc SFDC dev onsite and counting, I've run into the following issue. Before I came along, Salesforce was set up in concert with a devshop who created a trigger that adds sales ...
2
votes
0answers
48 views

debug log filter only for one user

The account I am using is Secondary Admin. And in Debug Logs, I am getting other user's log [using Salesforce UI]. It is quite annoying as it makes me hard to find my own debug logs. For Monitored ...
3
votes
4answers
257 views

cannot run test on class xxxxx

I have been struggling with this error since two days ago. For certain classes, I cannot run the test and getting error of [cannot run test on class xxxxx]. I followed most the answers like 1) clear ...
2
votes
2answers
719 views

Debug not working?

I have created a class that is related to a form the code does not log public class QuoteMachinesCartController { public String opportunityId{set; get;} public String name{set; get;} public String ...
3
votes
1answer
411 views

How to see full Status Detail of Apex Job

I have an apex job that is failing with a null pointer exception. The status detail unfortunately cuts the stacktrace just short of where it is actually helpful. Is there anyway to view the full ...
5
votes
2answers
1k views

Debugging logs in Developer Console is not working

I have had some problems debugging lately. For one thing I had problem even registering a user to monitor. This was because of Winter '14 and there is a fix for it (see this post). This way you will ...
1
vote
1answer
226 views

Debug Logs of Sites public user

I searched this problem but the answer look out-dated. The org I'm working on has a public site (named 'Aste'). I am sure I could go to the debug logs and set a tracked user either with 'Aste' or ...
3
votes
0answers
54 views

Debug problem in Winter 14? [duplicate]

My SF sandbox environment was upgraded to Winter 14 release a few days ago. I've been doing VisualForce and Apex development for the past few days without any problems but then today, I ran into an ...
8
votes
3answers
1k views

User is not getting added to Monitored Users in debug logs

I am simply adding user in 'Monitored Users' in Debug Logs. But User is not getting added.
3
votes
3answers
253 views

Could debug logs slow down the application?

In my apex applications i have tons of the System.debug('...') outputs. Should i remove it all for the production use? What is the best practice for this?
3
votes
0answers
137 views

Long running operation did not complete, continued in background

I am debugging a apex trigger/class and is using the Developer Console. When I click on my log entry it seems like it loads the logs and then I get this popup: The thing is the operation never ...
4
votes
1answer
99 views

Reviewing direct changes in Production

We are experiencing errors in a class in Production. They must be due to changes which were done directly into Production since nothing has changed in the code and we were able to deploy things just ...
2
votes
2answers
120 views

ENTERING_MANAGED_PKG logging level

I want to debug a test method, but the debug log is mostly taken up by "ENTERING_MANAGED_PKG" lines. In the Setting Debug Log Filters page, it suggests that this line is only shown if "Apex Code" is ...
1
vote
1answer
330 views

(already output) in Debug logs

I am trying to add a list into an another nested list before adding values of a list to nested list it is getting the correct value but after adding i am getting (already output) in debug log when i ...
4
votes
1answer
84 views

Is it possible for an SFDC Apex unit test to parse a debug log?

I'm currently playing around with SFDC-Http Integration and the new Mock server functionality. In the Apex code which I am testing, I have this branch condition: if (response.getStatusCode() != 200) ...
4
votes
1answer
73 views

Reason for asking Support to activate “Managed namespaces to log in Apex Debug Log” for a customer org

I am confused what Salesforce Support is telling me regarding my cases also reflected in those questions: Tracking errors in batch impossible as Dev Console stops logging or breaks with Server error ...
3
votes
3answers
142 views

Tracking errors in batch impossible as Dev Console stops logging or breaks with Server error

When single batch jobs fail only the last one is party shown in the Apex Logs page. This is not enough for debugging. A better way ist to check the log entries that are written per batch execute. ...
6
votes
1answer
88 views

Best Practice to pinpoint bugs in your managed code that only occur in customer orgs

When code in a managed package fails in a customer org it does not produce logs. This is a serious problem for the ISV that needs to provide a fix but is unable to reproduce the bug in his development ...
2
votes
2answers
335 views

Calling too many getters

I have the following VisualForce Page: <apex:page controller="Checkbox_Class" Tabstyle="Asset"> <apex:form > <apex:pageBlock Title="Assets with CheckBoxes"> ...
3
votes
1answer
617 views

Debug log not giving a clue why page fails

I am trying to debug a visual force page that fails with a generic "Error: Error occurred while loading a Visualforce page." I have set the debug log to the finest settings possible, but all it gives ...
6
votes
2answers
668 views

How to check debug logs for installed App?

how to check debug logs for installed app? Is there any way to check those ? What are the best ways/practice to follow when developing app, so that we can get some logs in case something goes wrong on ...
2
votes
1answer
64 views

access Monitored Users

I got a simple question, for custom logging I need to lookup some ApexLogs. Is there a way to access the Monitored Users for debug logging? I like to create or reset them programmatically.
0
votes
1answer
837 views

debug statements not showing on the debug log

I have custom debug statements on the controller now which is not showing up on the debug log. I see the method getting executed and exited but i could not see anything on the debug log. Edited to ...
5
votes
1answer
262 views

How can I capture Heap Dumps for other users?

Some of my users are experiencing a strange behavior that I can't yet reproduce in a Sandbox, so I'm trying to monitor the bug more closely in our production database. Since I'm in a production ...
0
votes
1answer
141 views

Need to get the ids of Multiple items

<apex:pageblock > <Apex:pageblockButtons > <apex:commandButton value="Process" action="{!savetemp}" rerender="thebtn" immediate="true"> ...
8
votes
3answers
584 views

Inconsistent logging output!

I am trying to log some values for general testing and I am getting some really strange behaviour. Some of the logs are just not printing. This is what is happening: I am pressing a button that runs ...
0
votes
1answer
217 views

Debugging SF API

I'm calling the SF SOAP API from 3rd party system e.g. services/data/v25.0/sobjects/Account/ I'm facing a problem which I would like to debug. How can I debug the API and see what am I being sent?
2
votes
3answers
571 views

Debugging visual workflow

I've got a "unhandled fault" in one of my flows. I tried using the debug logs, but they're very small, nearly empty. What's a good way to figure out what is causing the issue?
7
votes
1answer
141 views

Logging all interactions through Force.com Sites

We have a Force.com Site set up that a 3rd party service hits every so often via a webhook. We've noticed that there is an error every so often, but the webhook fires frequently enough that it is hard ...
1
vote
1answer
373 views

Using ForceIDE, how can I view the system.debug called from a class or trigger? ( I can see the ones from my test Class)

I am using the Eclipse Force.com IDE and have created a test class as well as a trigger. I put a system.debug in both but the Apex Test runner only displays the debug of the test class and not the one ...
5
votes
2answers
194 views

System.UnexpectedException: User defined type found in unsupported code path

I have a complex codebase containing numerous custom classes, subclasses, inner classes, and enums. (I specifically mention this, as I have a hunch the enums are the cause, but I can't replicate in a ...
4
votes
1answer
191 views

Does debug log add up to the Apex heap size?

Does debug log add up to the Apex heap size? I had enabled debug logs with some specific debug filters in place and immediately hit the Apex heap size limit, when I turned it off the apex ran without ...
10
votes
3answers
199 views

How can I speed up Developer Console?

Since Salesforce have moved their test execution to be asynchronous in Spring '13 we are forced to use the Developer Console to see Code Coverage for a single test class. My issue with this is that ...
0
votes
2answers
636 views

Creating a Task in Apex

I'm trying to create a Task in Apex, but it doesn't seem to be working. Here's my actual code: RecordType rt = [SELECT Id FROM RecordType WHERE Name = 'Some Record Type' AND SobjectType = 'Task']; ...
10
votes
1answer
356 views

Detecting System Mode in Debug Log

I'm attempting to ascertain if a block of code is running in System mode via the Debug Logs I have log entries which appear as such: 21:26:05.741 (2741491000)|SYSTEM_MODE_ENTER|true .. .. ...
3
votes
3answers
808 views

Tracking a bug while running batch job

I have 2000 batches to run in a single batch job. One of the batch gives "Attempt to de-reference a null object" error. I want to track this error. How can I track? I have used debug logs but they are ...
1
vote
1answer
320 views

Getting only text values in Query

list<invoice_setting__c> invoiceset = [select SiteUrl__c, Prefix__c, Seperator__c,Seperator1__c,DateValue__c, ...
4
votes
3answers
601 views

*** Skipped 7397754 bytes of detailed log - Is there a way we can we get the full log?

I am trying to debug an issue on my code and all of a sudden when i check my debug logs i cant seem to find the debug statements i had put in. System.debug('##################### START ...