is that macOS?
# general
a
is that macOS?
a
Yes. I build it on macOS. The osquery project own its python and I guess that it confilict my python in default
$PATH
a
oooh I see! nice catch
It's ok to build master if you just want to refresh the packages, but if you intend to write new functionalities then you should work on experimental if you want to submit pull requests
👍 1
a
Do you know how I can configure my Clion for add breakpoint to debug osquery table 😭.
a
master or experimental?
I THINK you can attach to the process, but I'm not sure (and should work with both)
a
master now
a
if you are on master, you can configure CLion but I have no idea how to do it on macOS
(I never tried)
easiest way is to look at the Makefile and see which env vars are set before calling CMake
then you can add those env vars inside CLion (file -> settings -> CMake -> "Build, Execution, Deployment")
with this you can build & debug directly from CLion
on Linux for example you have to update LDFLAGS, CXX, CC and PATH
a
Let me try
a
if breakpoints are not hit, either: 1. use osqueryd with --disable_watchdog 2. use osqueryi
a
1.
--disable_watchdog
doesn't work
a
did you manage to build with debug symbols?
by default it builds without them
a
a
interesting, can you try with gdb from the command line to see if it works?
gdb /path/to/bin
start --disable_watchdog
a
I can use my lldb ./osqueryd but I can't work in Clion. 😭