AL
AL copied to clipboard
Conditional breakpoint not evaluating -> "NavMethodScope is not supported for comparisons"
1. Describe the bug Conditional breakpoints will not work sometimes.
2. To Reproduce In my case I am using following code (extract): var ItemList: Dictionary of [Text, Boolean]; ItemNo: Text; begin ... foreach ItemNo in ItemList.Keys do begin Item.Get(ItemNo); ... end; Placing a breakpoint with condition "ItemNo = 'abcde'" on the Item.Get line. It has worked sometime, most of the time not.
3. Expected behavior Evaluate the condition
4. Actual behavior Throwing "Invalid conditional breakpoint expression: Type NavMethodScope is not supported for comparisons."
5. Versions:
- AL Language: 15.0.1433841
- Visual Studio Code: 1.99.3
- Business Central: 26.0.30643.33672
- List of Visual Studio Code extensions that you have installed:
- Operating System:
- [ x ] Windows
- [ ] Linux
- [ ] MacOS
Internal work item: AB#576409