While debugging I would like to change value in HashMap
(map name: params
). There is: "charset" -> "ISO-8859-1". When I try to set value
(F2) and type: "charset" -> "UTF-8" then error message is: Invalid expression : ->
. When I try to open "charset" -> "ISO-8859-1" then there is:
key = "charset"
value = "ISO-8859-1"
but set value
(F2) on value = "ISO-8859-1" doesn't work, it's greyed out. When I open "value"="ISO-8859-1" then I see:
value={char[10]31444}
hash=20129143423
Is there a chance to change value in HashMap to set some different value instead of ISO-8859-1
which already is there.
Select a variable or a property of a complex object in the Debug window, press F2 or right-click and choose Set Value... from the context menu, and then specify a new value and press Enter .
Manage breakpoints To do this, go to Settings/Preferences | Build, Execution, Deployment | Debugger and select Drag to the editor or click with middle mouse button. Clicking a breakpoint will then enable or disable it.
Open "Evaluate" window (Alt+F8) and type a normal code to put a new value into the map:
params.put("charset", "UTF-8")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With