Project

General

Profile

Actions

Bug #12012

closed

Поддержка логирования трасс исполнения программы (стиль ark)

Added by Alexander Protsenko about 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
ISA Simulator
Target version:
Start date:
11/01/2022
Due date:
% Done:

100%

Estimated time:
Detected in build:
git
Platform:
Published in build:

Description

0  [TID 0] D/interpreter: 0: movi v3, 0x3
0  [TID 0] D/interpreter: v3 = (hex) 3
1  [TID 0] D/interpreter: 0: newobj v0, class3
-1 clk MR2 0000000000000000 0
-1 clk MW2 0000000000000000 1
-1 clk MW2 0000000000000002 3
-1 clk MW2 0000000000000004 0
1  [TID 0] D/interpreter: v0 = (hex) 1
-1 clk MR2 0000000000001000 1
-1 clk MR2 0000000000001000 1
-1 clk MR2 000000000000100a 2
-1 clk MR2 000000000000100a 2
-1 clk MR2 0000000000001014 3
-1 clk MR2 0000000000001014 3
-1 clk MR2 000000000000101c 3
-1 clk MR2 0000000000002800 2
-1 clk MR2 0000000000002802 1
-1 clk MR2 000000000000280c 3
-1 clk MR2 000000000000280e 1
-1 clk MR2 0000000000002818 4
-1 clk MR2 000000000000281a 2
-1 clk MR2 0000000000002824 5
-1 clk MR2 0000000000002826 3
-1 clk MR2 0000000000002828 0
-1 clk MR2 000000000000282c 5
-1 clk MR2 0000000000002824 5
-1 clk MR2 0000000000006000 0
-1 clk MW2 0000000000006000 1
-1 clk MW2 0000000000006002 3000
-1 clk MW2 0000000000006004 1
2  [TID 0] D/interpreter: 0: newobj v1, class2
-1 clk MR2 0000000000000000 1
-1 clk MR2 0000000000000006 0
-1 clk MW2 0000000000000006 2
-1 clk MW2 0000000000000008 2
-1 clk MW2 000000000000000a 0
2  [TID 0] D/interpreter: v1 = (hex) 2

Реализовать корректный вывод в лог работу с памятью.

Actions #1

Updated by Alexander Protsenko about 2 years ago

  • Status changed from New to Open
Actions #2

Updated by Alexander Protsenko about 2 years ago

  • Status changed from Open to Resolved
  • % Done changed from 0 to 100

Обновленный вид:

0  [TID 0] D/interpreter: 13: movi v3, 0x3
0  [TID 0] D/interpreter:         v3 = (hex) 3
1  [TID 0] D/interpreter: 15: newobj v0, class3
1  [TID 0] D/interpreter:         v0 = (hex) 1
2  [TID 0] D/interpreter: 19: newobj v1, class2
2  [TID 0] D/interpreter:         v1 = (hex) 2
3  [TID 0] D/interpreter: 1d: newobj v2, class1
3  [TID 0] D/interpreter:         v2 = (hex) 3
4  [TID 0] D/interpreter: 21: lda.obj v0
5  [TID 0] D/interpreter: 23: lda v3
6  [TID 0] D/interpreter: 25: stobj v0, class1.field0
7  [TID 0] D/interpreter: 29: ldai 0x9
8  [TID 0] D/interpreter: 2b: ldobj v0, class1.field0
9  [TID 0] D/interpreter: 2f: call.virt.short class1.method0, v0, v3
9  [TID 0] D/interpreter:         v3 = (hex) 1
9  [TID 0] D/interpreter:         v4 = (hex) 3
10  [TID 0] D/interpreter: 0: ldobj v3, class1.field0
11  [TID 0] D/interpreter: 4: movi v1, 0x4
11  [TID 0] D/interpreter:         v1 = (hex) 4
12  [TID 0] D/interpreter: 6: add v4, v1
13  [TID 0] D/interpreter: 8: sta v2
13  [TID 0] D/interpreter:         v2 = (hex) 7
14  [TID 0] D/interpreter: a: ldobj v3, class1.field1
15  [TID 0] D/interpreter: e: sta v0
15  [TID 0] D/interpreter:         v0 = (hex) 3
16  [TID 0] D/interpreter: 10: ldai 0x9
17  [TID 0] D/interpreter: 12: return
17  [TID 0] D/interpreter:         v3 = (hex) 0
17  [TID 0] D/interpreter:         v4 = (hex) 0
18  [TID 0] D/interpreter: 33: ldobj v0, class1.field0
19  [TID 0] D/interpreter: 37: sta v5
19  [TID 0] D/interpreter:         v5 = (hex) 3
20  [TID 0] D/interpreter: 39: ldai 0x0
21  [TID 0] D/interpreter: 3b: return
21  [TID 0] D/interpreter:         v3 = (hex) 0
21  [TID 0] D/interpreter:         v4 = (hex) 0

b4acf57a

Actions #3

Updated by Alexander Protsenko over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF