[ 0:01] + cat [ 0:01] + sim file.cpp [ 0:01] compiling file.cpp [ 0:01] [ 0:11] ^ —————. —.— . . —.— . . .————— . . [ 0:11] ——— | | | | | | |\ | | | | [ 0:11] —(o)— | | | | | | | \ | |———— '————| [ 0:11] ——————— | | | \ / | | \| | | [ 0:11] ————————— —————' —'— ' —'— ' ' '————— ' [ 0:11] [ 0:11] Welcome to 'divine sim', an interactive debugger. Type 'help' to get started. [ 0:11] # executing __boot at /divine/src/dios/core/dios.cpp:169 [ 0:11] > start [ 0:11] # a new program state was stored as #1 [ 0:14] # active threads: [0:0] [ 0:14] # a new program state was stored as #2 [ 0:16] # active threads: [0:0] [ 0:16] # executing main at file.cpp:1 [ 0:16] > step --count 3 [ 0:16] %01 = alloca [i32 1 d] # [heap* 8b5b50af 0 ddp] [ 0:16] store [i32 0 d] %01 [ 0:16] %06 = icmp.sge [i32 42 d] [i32 0 d] # [i1 1 1] [ 0:16] br %06 label %if.end label %if.then [ 0:16] # executing main at file.cpp:5 [ 0:16] > show .x [ 0:16] attributes: [ 0:16] address: heap* 2 1208h+0 [ 0:16] type: int [ 0:16] value: [i32 42 d] [ 0:16] shared: 0 [ 0:16] scope: main [ 0:16] definition: file.cpp:2 [ 0:16] # executing main at file.cpp:5 [ 0:16] > show .y [ 0:16] attributes: [ 0:16] address: heap* 8b5b50af 0+0 [ 0:16] type: int [ 0:16] value: [i32 0 d] [ 0:16] shared: 0 [ 0:16] # executing main at file.cpp:5 [ 0:16] [ 0:17] = expected ========== [ 0:17] + ^# executing __boot at [ 0:17] > start [ 0:17] > step --count 3 [ 0:17] + ^# executing main at [ 0:17] > show .x [ 0:17] + ^attributes [ 0:17] + type:\s*int [ 0:17] + value:\s*[i32 42 d] [ 0:17] > show .y [ 0:17] + ^attributes [ 0:17] + type:\s*int [ 0:17] [ 0:17] = matched =========== [ 0:17] # executing __boot at /divine/src/dios/core/dios.cpp:169 | ^# executing __boot at [ 0:17] > start | ^> start [ 0:17] > step --count 3 | ^> step --count 3 [ 0:17] # executing main at file.cpp:5 | ^# executing main at [ 0:17] > show .x | ^> show .x [ 0:17] attributes: | ^attributes [ 0:17] type: int | type:\s*int [ 0:17] value: [i32 42 d] | value:\s*[i32 42 d] [ 0:17] > show .y | ^> show .y [ 0:17] attributes: | ^attributes [ 0:17] type: int | type:\s*int [ 0:17] + check debris