using LLDB to debug Gecko

2014-01-21 Thread Cameron McCormack

Hi,

For those of you who are using LLDB -- either by choice, or against your 
will after upgrading to OS X 10.9 -- I've added some Gecko-specific LLDB 
functionality to an .lldbinit file in the tree.  I've mainly started 
with porting across the commands from the in-tree .gdbinit that were 
still useful.


You can read about it here:

  http://mcc.id.au/blog/2014/01/lldb-gecko

Let me know if you have any ideas for further commands and type 
summaries we could add!


Cameron
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: using LLDB to debug Gecko

2014-01-21 Thread Till Schneidereit
This is fantastic, thank you so much!

a few months ago, I started looking into porting the pretty printers and
niceties for various SpiderMonkey things that live in js/src/gdb, but the
way much of this works is very different from gdb, so I didn't get too far
back them. This makes me want to pick that project up again.


On Tue, Jan 21, 2014 at 11:09 AM, Cameron McCormack c...@mcc.id.au wrote:

 Hi,

 For those of you who are using LLDB -- either by choice, or against your
 will after upgrading to OS X 10.9 -- I've added some Gecko-specific LLDB
 functionality to an .lldbinit file in the tree.  I've mainly started with
 porting across the commands from the in-tree .gdbinit that were still
 useful.

 You can read about it here:

   http://mcc.id.au/blog/2014/01/lldb-gecko

 Let me know if you have any ideas for further commands and type summaries
 we could add!

 Cameron
 ___
 dev-platform mailing list
 dev-platform@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-platform

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


Re: using LLDB to debug Gecko

2014-01-21 Thread Bobby Holley
Yeah. In general there are still some pain points using lldb, since a lot
of automation still assumes gdb (I'm looking at you, jit-tests). We're
going to have to use lldb going forward, so I think we should make it a
priority to improve the developer experience when using it.

bholley


On Tue, Jan 21, 2014 at 2:31 AM, Till Schneidereit 
t...@tillschneidereit.net wrote:

 This is fantastic, thank you so much!

 a few months ago, I started looking into porting the pretty printers and
 niceties for various SpiderMonkey things that live in js/src/gdb, but the
 way much of this works is very different from gdb, so I didn't get too far
 back them. This makes me want to pick that project up again.


 On Tue, Jan 21, 2014 at 11:09 AM, Cameron McCormack c...@mcc.id.au wrote:

  Hi,
 
  For those of you who are using LLDB -- either by choice, or against your
  will after upgrading to OS X 10.9 -- I've added some Gecko-specific LLDB
  functionality to an .lldbinit file in the tree.  I've mainly started with
  porting across the commands from the in-tree .gdbinit that were still
  useful.
 
  You can read about it here:
 
http://mcc.id.au/blog/2014/01/lldb-gecko
 
  Let me know if you have any ideas for further commands and type summaries
  we could add!
 
  Cameron
  ___
  dev-platform mailing list
  dev-platform@lists.mozilla.org
  https://lists.mozilla.org/listinfo/dev-platform
 
 ___
 dev-platform mailing list
 dev-platform@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-platform

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


Re: using LLDB to debug Gecko

2014-01-21 Thread Seth Fowler
Really nice Cameron, thanks for doing this!

Now if only I could get LLDB to work with GUD in emacs. If anyone has managed 
that, I'd love to hear about it. There was some elisp in the LLDB repo at one 
time but last I checked it had been removed and the last version that existed 
didn't work with the current version of emacs.

- Seth

On Jan 21, 2014, at 2:09 AM, Cameron McCormack c...@mcc.id.au wrote:

 Hi,
 
 For those of you who are using LLDB -- either by choice, or against your will 
 after upgrading to OS X 10.9 -- I've added some Gecko-specific LLDB 
 functionality to an .lldbinit file in the tree.  I've mainly started with 
 porting across the commands from the in-tree .gdbinit that were still useful.
 
 You can read about it here:
 
  http://mcc.id.au/blog/2014/01/lldb-gecko
 
 Let me know if you have any ideas for further commands and type summaries we 
 could add!
 
 Cameron
 ___
 dev-platform mailing list
 dev-platform@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-platform

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