cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Knowledge Base

How do I resolve a "Maximum call stack exceeded" error when instrumenting Angular apps?

Why the RangeError: Maximum call stack exceeded error is thrown and what to do about it

 

Problem

You receive the error RangeError: Maximum call stack size exceeded for an Angular application when config.fetch is set to True.

 

Solution

To resolve the issue, add the appropriate code from the table below to the JavaScript Agent config file:

 

JavaScript Agent v4.5.14 and lower 

config.angular=true

JavaScript Agent v4.5.15 and higher

config.isZonePromise=true

Version history
Last update:
‎01-13-2020 05:53 PM
Updated by:
Labels (1)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
0 Kudos