-3

Is this something you can't do?

You can put a breakpoint and edit an int variable value, but this you can't edit the value of a list item?

Sach
  • 10,091
  • 8
  • 47
  • 84

2 Answers2

1

You can do that using Quick watch feature,

  • Where you want to change value of list, put a debugger.
  • Right click there and select Quick watch(shift + F9).
  • Update the expression as below

enter image description here

Prasad Telkikar
  • 15,207
  • 5
  • 21
  • 44
1

In addition to the "Quick Watch" answer, you can use the immediate window to change an object that is in scope (where the breakpoint is).

enter image description here

BurnsBA
  • 4,347
  • 27
  • 39