B2G/Debugging OpenGL: Difference between revisions

PRELOAD mozglue to make sure we get the right allocator
(PRELOAD mozglue to make sure we get the right allocator)
Line 60: Line 60:
$ADB shell kill $B2G_PID
$ADB shell kill $B2G_PID
$ADB shell stop b2g
$ADB shell stop b2g
$ADB shell TRACE_FILE=/data/egl.trace LD_PRELOAD=/data/egltrace.so LD_LIBRARY_PATH=/system/b2g ${B2G_BIN}
$ADB shell TRACE_FILE=/data/egl.trace LD_PRELOAD=\"/system/b2g/libmozglue.so /data/egltrace.so\" LD_LIBRARY_PATH=/system/b2g ${B2G_BIN}
</pre>
</pre>


Confirmed users
523

edits