Function injectStackTraceFeature

  • Inject code for a new debug feature that calls console.trace when a specific method is called and this feature is enabled.

    Parameters

    • classObj: any

      The class. Widget for example

    • methodKey: string

      The key of the property to watch. "paint" for example

    Returns void