Commit 4aa1e01
committed
Add debug assertions in TraceCommandStop and TraceCommandException
Debug.Assert checks that TraceCommandStart was called before the stop
or exception path, helping catch lifecycle bugs during development.1 parent 98f6f6d commit 4aa1e01
1 file changed
Lines changed: 4 additions & 0 deletions
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1325 | 1325 | | |
1326 | 1326 | | |
1327 | 1327 | | |
| 1328 | + | |
| 1329 | + | |
1328 | 1330 | | |
1329 | 1331 | | |
1330 | 1332 | | |
| |||
1338 | 1340 | | |
1339 | 1341 | | |
1340 | 1342 | | |
| 1343 | + | |
| 1344 | + | |
1341 | 1345 | | |
1342 | 1346 | | |
1343 | 1347 | | |
| |||
0 commit comments