Performance/MemShrink/DMD: Difference between revisions

Jump to navigation Jump to search
Line 56: Line 56:
==== Launch ====
==== Launch ====


Start the browser like this:
Use <code>mach run --dmd</code>. Add <code>--debug</code> to run under lldb.
 
  DYLD_INSERT_LIBRARIES=$OBJDIR/dist/bin/libdmd.dylib \
  LD_LIBRARY_PATH=$OBJDIR/dist/bin/ \
  DMD=1 \    # or replace the '1' with one or more DMD options (see below)
  <command>
 
If you want to run under lldb, do this:
 
  DYLD_INSERT_LIBRARIES=$OBJDIR/dist/bin/libdmd.dylib \
  LD_LIBRARY_PATH=$OBJDIR/dist/bin/ \
  DMD=1 \    # or replace the '1' with one or more DMD options (see below)
  lldb -- <command>


==== Trigger ====
==== Trigger ====
Confirmed users
1,345

edits

Navigation menu