Why can not my agent be passive

In reply to lagnaray:

Its not possible for compilation to hang. Try clearing previous compilation database and run it again.

And it’s better to use if(config_db#()::get) as get() method returns success or failure.