From 13b1213de3bd977f65bcdf47ab0f6e4fb14ba056 Mon Sep 17 00:00:00 2001
From: Greg Clayton
When your process hits a breakpoint to which you have attached some python code, the code is executed as the - body of a function which takes two arguments:
+ body of a function which takes three arguments:
- An example will show how simple it is to write some python code and attach it to a breakpoint.
The following example will allow you to track the order in which the functions in a given shared library
--
cgit v1.2.3
def breakpoint_function_wrapper(frame, bp_loc):
+
def breakpoint_function_wrapper(frame, bp_loc, dict):
# Your code goes here
@@ -251,6 +251,17 @@ frame #0: 0x0000000100000bb6 a.out main + 54 at main.c:16
are represented by lldb.SBBreakpointLocation objects.
+
+
+ dict
+
+
+ dict
+
+
+ The python session dictionary as a standard python dictionary object.
+
+