You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To view the details, select an event. To understand why the operation occurred, correlate the events with nearby Trace records. For example, a surge in `getRows` calls after a Trace operation with `phase: "ApplyFilters"` might indicate an inefficient filter expression.
50
+
To view the details, select an event. To understand why the operation occurred, correlate the events with nearby Trace records. For example, a surge in `getRows` calls after a Trace operation that includes the `phase: "ApplyFilters"` property might indicate an inefficient filter expression.
51
51
52
52
> [!TIP]
53
-
> If you see HTTP 429 (throttling), check preceding events to determine whether a loop or repeated evaluation triggered excessive operations. Optimize formulas or use [collections](/power-apps/maker/canvas-apps/create-update-collection) to cache data and reduce network calls.
53
+
> If you see `HTTP 429` (throttling), check preceding events to determine whether a loop or repeated evaluation triggered excessive operations. Optimize formulas or use [collections](/power-apps/maker/canvas-apps/create-update-collection) to cache data and reduce network calls.
54
54
55
55
### Use Trace effectively
56
56
@@ -72,7 +72,7 @@ To create a debug button:
72
72
1. Add a button that's named `btnDebugSnapshot` and that has the **Visible** property set to `Param("debug") = "true"`.
73
73
74
74
For more information about how to pass parameters, see [Param function](/power-platform/power-fx/reference/function-param).
75
-
1. In `OnSelect`, call Trace with a snapshot record.
75
+
1. In `OnSelect`, call Trace and include a snapshot record.
76
76
1. When you test, add `&debug=true` to the app URL in order to show the button.
77
77
78
78
> [!TIP]
@@ -113,7 +113,7 @@ Use this checklist when troubleshooting canvas app problems:
113
113
114
114
## Example scenarios
115
115
116
-
### Scenario: App works for one user but not another
116
+
### App works for one user but not another
117
117
118
118
User A submits orders successfully, but User B sees failures and different UI behavior (for example, a discount checkbox is disabled). You suspect the underlying data differs between their accounts.
119
119
@@ -170,15 +170,15 @@ Trace(
170
170
171
171
#### Analyze the results
172
172
173
-
In Live monitor, filter by Trace events, button name, or search for "Debug:" in the info column. Compare User A to User B:
173
+
In Live monitor, filter by Trace events, button name, or search for "Debug:" in the event data. Compare User A to User B:
174
174
175
175
- Do they have different `isVIP` values? This difference could change discount calculations.
176
176
- Are cart counts identical? If not, the upstream logic differs.
177
177
- Are error traces present only for User B? Expand the event to inspect the error details.
178
178
179
179
Correlate Trace events with adjacent `getRows` or `patch` operations. If User B triggers extra data calls (for example, a nondelegable filter that forces multiple network requests), you see them in the event table.
180
180
181
-
### Scenario: App works in one environment but not another
181
+
### App works in one environment but not another
182
182
183
183
Your app works correctly in *Test* but fails in *Production*. For example, a gallery loads no items, and submission is slow. Even though the app is the same, the data in each environment can differ. Missing tables, different column values, larger datasets that trigger delegation limits, or permission differences can cause the app to behave differently.
0 commit comments