From 070ccac33d65c651c972dfab9c6148e43d8d5d8e Mon Sep 17 00:00:00 2001 From: fulup Date: Thu, 3 Aug 2017 12:00:41 +0200 Subject: Initial Working Version on Alsa Policy-Policy-Hook --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index a746cbf..4e449cb 100644 --- a/README.md +++ b/README.md @@ -78,14 +78,18 @@ AFB_daemon dependency on Standard Linux Distributions cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX .. make - afb-daemon --workdir=.. --ldpaths=build --port=1234 --roothttp=./htdocs --token="" --verbose + afb-daemon --workdir=. --ldpaths=. --port=1234 --roothttp=../htdocs --token="" --verbose + + Warning: See below net on GDB requiring (--workdir=.) ``` -# Local Source Debug with GDB +# Note: GDB Source Debug limits/features Warning: technically AGL bindings are shared libraries loaded thought 'dlopen'. GDB supports source debug of dynamically loaded libraries, but user should be warn that the actual path to sharelib symbols is directly inherited from DLOPEN. -As a result if you change your directory after binder start with --workdir=xxx then GDB will not find symbols anymore +As a result if you change your directory after binder start with --workdir=xxx then GDB will stop working. + +Conclusion: double-check that --workdir=. and run debug session from ./build directory. Any IDEs like Netbeans or VisualCode should work out of the box. ``` -- cgit 1.2.3-korg