I want to change the value and length of a long array during debugging.
For e.g. in my code
long[] longArray = returnLongArray();
Now i want to change the value of longArray variable
the contents of longArray is [0,0,1,1] but i want to change it to [0,1,2]
please note that i want to change the contents of the long array as well as the length too and also hot swapping the code is not an option as the code is running on production
Through variables view i can go and change each primitive long value of the array but not able to reduce the length of the long array.
best Regards,
Saurav