You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rjhowell44 edited this page Dec 13, 2019
·
1 revision
A place for random notes, pulled from Issue comments ... for now
Debugging
I wanted to see if I could set a breakpoint in the dsl-lib.so and get symbolic debugging working.
I edited the Makefile by adding the line: -g3 -gdwarf-2 after -fPIC and then rebuilding the library. I then copied the new dsl-lib.so to the same directory where ds_test1.py is located.
$ gdb python3
(gdb) break main
(gdb) run ds_test1.py
(gdb) set stop-on-solib 1
(gdb) cont
(gdb) info shared
(gdb) break dsl_pipeline_component_remove
(gdb) cont
Running cont a few times you eventually hit the breakpoint in the shared memory function for dsl_pipeline_component_remove.