Skip to content

Commit 9c821db

Browse files
committed
PR feedback
1 parent 82668a8 commit 9c821db

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

support/power-platform/power-apps/create-and-use-apps/monitor-debugging-canvas-apps.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ Live monitor displays each data operation event by providing:
4747
- Result (success or error status code)
4848
- Delegation hints ([nondelegable operations](/power-apps/maker/canvas-apps/delegation-overview#nondelegable-limits) trigger client-side processing)
4949

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 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.
5151

5252
> [!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.
5454
5555
### Use Trace effectively
5656

@@ -72,7 +72,7 @@ To create a debug button:
7272
1. Add a button that's named `btnDebugSnapshot` and that has the **Visible** property set to `Param("debug") = "true"`.
7373

7474
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.
7676
1. When you test, add `&debug=true` to the app URL in order to show the button.
7777

7878
> [!TIP]
@@ -113,7 +113,7 @@ Use this checklist when troubleshooting canvas app problems:
113113

114114
## Example scenarios
115115

116-
### Scenario: App works for one user but not another
116+
### App works for one user but not another
117117

118118
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.
119119

@@ -170,15 +170,15 @@ Trace(
170170

171171
#### Analyze the results
172172

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:
174174

175175
- Do they have different `isVIP` values? This difference could change discount calculations.
176176
- Are cart counts identical? If not, the upstream logic differs.
177177
- Are error traces present only for User B? Expand the event to inspect the error details.
178178

179179
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.
180180

181-
### Scenario: App works in one environment but not another
181+
### App works in one environment but not another
182182

183183
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.
184184

0 commit comments

Comments
 (0)