[fpc-devel] CaptureBacktrace
Adriaan van Os
adriaan at adriaan.biz
Mon Oct 7 12:15:29 CEST 2024
> Also, there is no symbol information (on MacOS). Is this because of the
> separate .dSYM file ?
But if I call backtrace_symbols in stead of DUmp_Stack, I do get symbol names ....
Regards,
Adriaan van Os
main program
0 Test 0x00011560 P$MBTESTBACKTRACE2_$$_WRITEBACKTRACE + 144
1 Test 0x0001177d PASCALMAIN + 61
2 Test 0x00023515 FPC_SYSTEMMAIN + 69
3 Test 0x000114c5 start + 53
theDepth = 6
0 Test 0x00011560 P$MBTESTBACKTRACE2_$$_WRITEBACKTRACE + 144
1 Test 0x000116ee P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 110
2 Test 0x000117ac PASCALMAIN + 108
3 Test 0x00023515 FPC_SYSTEMMAIN + 69
4 Test 0x000114c5 start + 53
theDepth = 5
0 Test 0x00011560 P$MBTESTBACKTRACE2_$$_WRITEBACKTRACE + 144
1 Test 0x000116ee P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 110
2 Test 0x00011733 P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 179
3 Test 0x000117ac PASCALMAIN + 108
4 Test 0x00023515 FPC_SYSTEMMAIN + 69
5 Test 0x000114c5 start + 53
theDepth = 4
0 Test 0x00011560 P$MBTESTBACKTRACE2_$$_WRITEBACKTRACE + 144
1 Test 0x000116ee P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 110
2 Test 0x00011733 P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 179
3 Test 0x00011733 P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 179
4 Test 0x000117ac PASCALMAIN + 108
5 Test 0x00023515 FPC_SYSTEMMAIN + 69
6 Test 0x000114c5 start + 53
theDepth = 3
0 Test 0x00011560 P$MBTESTBACKTRACE2_$$_WRITEBACKTRACE + 144
1 Test 0x000116ee P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 110
2 Test 0x00011733 P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 179
3 Test 0x00011733 P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 179
4 Test 0x00011733 P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 179
5 Test 0x000117ac PASCALMAIN + 108
6 Test 0x00023515 FPC_SYSTEMMAIN + 69
7 Test 0x000114c5 start + 53
theDepth = 2
0 Test 0x00011560 P$MBTESTBACKTRACE2_$$_WRITEBACKTRACE + 144
1 Test 0x000116ee P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 110
2 Test 0x00011733 P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 179
3 Test 0x00011733 P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 179
4 Test 0x00011733 P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 179
5 Test 0x00011733 P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 179
6 Test 0x000117ac PASCALMAIN + 108
7 Test 0x00023515 FPC_SYSTEMMAIN + 69
8 Test 0x000114c5 start + 53
theDepth = 1
0 Test 0x00011560 P$MBTESTBACKTRACE2_$$_WRITEBACKTRACE + 144
1 Test 0x000116ee P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 110
2 Test 0x00011733 P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 179
3 Test 0x00011733 P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 179
4 Test 0x00011733 P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 179
5 Test 0x00011733 P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 179
6 Test 0x00011733 P$MBTESTBACKTRACE2_$$_STACKME$SMALLINT + 179
7 Test 0x000117ac PASCALMAIN + 108
8 Test 0x00023515 FPC_SYSTEMMAIN + 69
9 Test 0x000114c5 start + 53
More information about the fpc-devel
mailing list