Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Extra verbose ninja debug output

Tags:

I have a ninja build that seems to get stuck at a particular command, however if I run the command manually it completes quickly with no problems.

Is there a way to get ninja to output more debugging information than ninja -v so I can work out why it is hanging?

like image 401
Timmmm Avatar asked Jun 17 '19 14:06

Timmmm


1 Answers

prebuilts/build-tools/linux-x86/bin/ninja -d list

debugging modes:
  stats        print operation counts/timing info
  explain      explain what caused a command to execute
  keepdepfile  don't delete depfiles after they're read by ninja
  keeprsp      don't delete @response files on success
multiple modes can be enabled via -d FOO -d BAR
like image 62
venkrao Avatar answered Nov 15 '22 05:11

venkrao