forked from sstsimulator/sst-core
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Object being tested in the interactive console:
static const size_t X_SIZE = 3;
static const size_t Y_SIZE = 5;
static const size_t Z_SIZE = 7;
double v_xyz[X_SIZE][Y_SIZE][Z_SIZE] = { };
In sst-ext-tests devel branch:
$ cd tests/core-debug
$ sst --interactive-start=0 omni.py -- --function0=dbgsst15.OMArrays
> confirm false
> cd c0
> cd function0
> cd v_xyz
> cd 2
> cd 4
> pwd
c0/function0/v_xyz/2/4 (double [7])
> p 6
6 = 105.00000000000000000 (double)
> watch 6 > 120.0 && 6 < 122.0
Added watchpoint #0
> run
> run
Entering interactive mode at time 16000
WP0: AC : c0/function0/v_xyz/2/4/6 ...
> p 6
6 = 121.00000000000000000 (double)
> run 20ns
> run 20ns
Entering interactive mode at time 17000
WP0: BC : c0/function0/v_xyz/2/4/6 ...
> p 6
6 = 122.00000000000000000 (double)
This last one falls outside of the range specified in by the watchpoint: watch 6 > 120.0 && 6 < 122.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels