Created attachment 184093 [details] examples with no update Watch during debuging Put to the Watch the variable 'level' and debug this macro step-by-step. After the line 'level(0)=p2' it will changed the information in Watch, but after the line 'level=level(0)' it will not change the Watch. Sub dynamArray dim p(2), p2(2), level as variant level=p level(0)=p2 level=level(0) End Sub But if you add the variable 'level' to the Watch after the debugging the line 'level=level(0)', the it is OK. Version: 7.5.0.0.alpha1 (X86_64) / LibreOffice Community Build ID: 2b4d136b65bc79a1248876160e85fab79d52d5d6 CPU threads: 8; OS: Windows 10.0 Build 17763; UI render: Skia/Raster; VCL: win Locale: cs-CZ (cs_CZ); UI: cs-CZ Calc: CL threaded
Hello, is it only refresh of watch window issue? Because when I do the following steps: Put to the Watch the variable 'level' and debug this macro step-by-step. do not unfold "level" variable in watch window doing debugging to the line 'level=level(0)' unfold "level" variable then it's correct?
Yes, it is correct. The problem is with the refreshing of unfolded variable if the variable is array of array.
I can confirm with Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a) and Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 705b2924a14841883b4a8cac549f7af326d7a185 CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded