Bug #18505 2012-02-16 03:20

cbuser88

Watch as array does not work at first entry

The "Watch as array" checkbox does not work at all when adding a watch. It works only if the already created watch is edited.

Steps to reproduce:

1. create new project: Console application in C (use the Hello world main.c)

2. declare and dynamically allocate an array of integers (for example)

3. build target Debug, set breakpoint after the allocation, Debug

4. right click in Watches window -> Add watch

5. write down name of the variable, check "Watch as array", set (proper) Count

6. C:B shows only the pointer ("Watch as array" does not work)

I have to do the following:

7. right click on the watch -> Edit watch -> check the (unchecked) "Watch as array" again, set Count again

Category
Application::WrongBehaviour
Group
Platform:All
Status
Closed
Close date
2013-10-04 22:22
Assigned to
tpetrov
tpetrov 2013-10-04 22:22

This dialog is no longer used to add watches. Only for editing.