The debugging tag has no wiki summary.
0
votes
1answer
64 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
61 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
51 views
Need to get the ids of Multiple items
<apex:pageblock >
<Apex:pageblockButtons >
<apex:commandButton value="Process" action="{!savetemp}" rerender="thebtn" immediate="true">
...
5
votes
2answers
74 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
51 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
2answers
57 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
69 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
28 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
78 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
52 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 ...
3
votes
1answer
64 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
78 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
173 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
177 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
92 views
Getting only text values in Query
list<invoice_setting__c> invoiceset = [select SiteUrl__c, Prefix__c,
Seperator__c,Seperator1__c,DateValue__c,
...
2
votes
3answers
218 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 ...
2
votes
2answers
90 views
Debugging packages for Professional orgs
We have a managed package that works in Enterprise and Unlimited orgs. We are working on getting it working in Professional. The version we have works fine in the development org but when installed in ...
1
vote
2answers
271 views
Test Case Failing b/c of Validation Rule, But Should Be Passing Based on Debug Log
My test case is inserting and updating records that should be meeting the criteria of the following validation rule, but the test says that it is failing:
Validation Rule:
AND(
OR(
...
2
votes
2answers
117 views
How to identify Bulk Data Load Jobs in the log files
I am trying to dig into our logs and see what is really happening behind the scenes when we bulk data load data into SFDC, but I can't seem to id the operation name in the logs connected with the data ...
7
votes
5answers
480 views
can I force to store information even if the trigger throws an exception?
I currently have a trigger which sometimes fails when new information is inserted from a 3rd party system. I can't simply check the logs as it usually happens during the night and it's not easy to ...
4
votes
1answer
193 views
Is there a better way to debug a code in salesforce?
I have been working on test classes and often writing test scenarios for code developed by other developers. Many a time i would need to insert in some debug statements to understand the flow of the ...
6
votes
1answer
311 views
How can I get a debug log for the sites guest user/public profile?
Normally, you can put debug monitoring on a user by name to see the details on the error they're getting (especially for the non-descript Error Loading a Visualforce Page).
But when you are trying to ...
5
votes
3answers
380 views
How to export debug logs?
I spend my days waiting on the Force.com Console and it makes me crazy, I have a pretty nice machine and it still chokes on the details sometimes.
Anyways, I saw Loggly had given a presentation at DF ...
