The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [stacktrace]

A stack trace (also called stack backtrace or stack traceback) is a report of the active stack frames at a certain point in time during the execution of a program. When a program is run, memory is often dynamically allocated in two places; the stack and the heap.

Filter by
Sorted by
Tagged with
1
vote
1answer
49 views

Stack trace reference in Salesforce Commerce Cloud

On my sandbox, in my logs, I got an error and I got a reference to the stack trace of the error: Stack trace <ref:a6d7f20c52ed080c41c1e8e66b1bac4f> Is it possible to find the stack ...
3
votes
1answer
129 views

Managed Package: Catch exception and then re-throw asynchronously?

I'm working on a managed package in which our customer (the company that asked us to develop the package) runs into certain exceptions in edge case UAT scenarios (e.g. API has gone bonkers for 10 ...
34
votes
2answers
19k 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. ...
7
votes
1answer
879 views

How to get running class and method names programmatically? [duplicate]

There is a logger class in my org that accepts class name and method name as parameters. So often, you will see code of roughly the following form: public class MyClass { public static void ...
11
votes
2answers
2k views

Salesforce Developer Console - Getting a stack trace easily

When looking at a particular line in a debug log in the Developer Console, is there an easy way to get the stack trace for that particular line? I have a CPU Time out issue with my tests and I've ...
12
votes
0answers
121 views

Fluctuations in obfuscation of managed package details

I've seen Salesforce obscure certain details about a managed package when it was deployed in a subscriber org. For instance, the debug logging generated from the managed package namespace isn't ...
0
votes
1answer
66 views

apex class trace problem: start date and end date cannot configure

I want to trace an apex class running process then setup as following: click Developer console->debug->change log levels In the section "class and trigger trace overrides", I choose related apex ...
2
votes
1answer
99 views

Rewriting Try + Catch{System.Assert(false, 'blahblah')} for easy toggle-off of catch?

Dear Salesforce StackExchange, An outside partner set a precedent in some of our Apex triggers of doing major operations (such as DML) inside a try/catch block, and having the catch block simply ...
2
votes
1answer
34 views

Visualforce-Community: Is it possibe to override the errorpages AND get there a full Exception display including StackTrace?

Working on Communities, but getting only the generic Errorpages is not useful for managing bug-reports. By default it looks like this: I know how to override that here: I would like to see as much ...