> I think I got a little confused.

--read-var-info=yes will eat up all your memory (at least with libxul.so)
for very little benefit.  I suggest not using it.

> But ithout --read-var-info=yes, it is a little difficult to

--track-origins=yes provides you with useful information.  If that
doesn't help enough, you can use the VALGRIND_CHECK_MEMORY_IS_DEFINED
etc macros in memcheck.h, to put manual checks in the code.  That
is sometimes necessary for difficult bugs.

Also you can use the built in GDB server, which allows you to
poke around memory etc when V reports an error.  Start V on the
main TB executable, with extra flag --vgdb-error=0, and follow
the instructions it prints out.

J
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to