diff options
author | fulup <fulup.arfoll@iot.bzh> | 2017-07-01 00:22:00 +0200 |
---|---|---|
committer | fulup <fulup.arfoll@iot.bzh> | 2017-07-01 00:22:00 +0200 |
commit | c326a053cdf8a4a9ce0fb02448293b45083d553c (patch) | |
tree | aa1209094f735e96ad506615fe04d375b773543a /README.md | |
parent | 10c42e135b22bf323836100ede042ec47ddb22a1 (diff) |
Ongoing work
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -84,11 +84,22 @@ make install # From $INSTALL_PREFIX mkdir $INSTALL_PREFIX/share/wssocks afb-daemon --verbose --token="" --ldpaths=$INSTALL_PREFIX/lib/audio --port=1234 --roothttp=$INSTALL_PREFIX/htdocs/audio-bindings + +# Debug with GDB + In order your debugger to find bindings(sharelib) symbols ldpath and workdir should match with GDB solib-search-path + --workdir=. #default value: in this case solib-search-path is not requirer + --workdir=.. --ldpath=build in this case set (solib-search-path=build) should be used + + To debug from desktop directly within './build' directory use following commands +``` + cd ./build + gdb afb-daemon --args afb-daemon --ldpaths=. --port=1234 --workdir=. --roothttp=../htdocs --tracereq=common --token='' --verbose ``` -# replace hd:XX with your own sound card ID ex: "hw:0", "hw:PCH", ... -Start a browser on http://localhost:1234?devid=hw:XX -Start AlsaMixer and change volume you should see event in your browser +# replace hd:XX with your own sound card ID ex: "hw:0", "hw:PCH", ... +``` +- Start a browser on http://localhost:1234?devid=hw:XX +- Start AlsaMixer and change volume you should see event in your browser ``` alsamixer -D hw:0 ``` |