3 title: Debugging binder and bindings
5 https://git.automotivelinux.org/src/app-framework-binder/plain/docs/afb-daemon-debugging.md?h=master
8 <!-- WARNING: This file is generated by fetch_docs.js using /home/boron/Documents/AGL/docs-webtemplate/site/_data/tocs/apis_services/master/app-framework-binder-developer-guides-api-services-book.yml -->
10 # Debugging binder and bindings
12 When compiled with the symbol AGL_DEVEL defined, the ***binder***
13 understands the 2 configuration variables:
15 - AFB_DEBUG_BREAK: to emit interrupts
16 - AFB_DEBUG_WAIT: to wait interrupts
18 To use these variables, assign it the list of break or wait points
24 $ AFB_DEBUG_BREAK=main-entry AFB_DEBUG_WAIT=start-load,start-exec afb-daemon ....
27 This tells to ***afb-daemon*** to break at the point **main-entry** and to
28 wait at the points **start-load** and **start-exec**.
30 The items of the list can be separated using comma, space, tab or new-line.
32 The break/wait points are, in the order of their occurrence:
34 - main-entry: before decode arguments
35 - main-args: before daemon setup
36 - main-start: before starting jobs
37 - start-entry: before initialisation of sessions and hooks
38 - start-load: before load and pre-init of bindings
39 - start-start: before init of bindings
40 - start-http: before start of http server
41 - start-call: before execution of requests of the command line (option --call)
42 - start-exec: before execution of child preocees
44 Note also that a call to 'personality' is inserted just after
45 the point start-start.