Re: [BuildStream] Debuggers



1 as pp1 80 PP 00. 

El dom., 19 ago. 2018 8:26, Tristan Van Berkom via BuildStream-list <buildstream-list gnome org> escribió:
On Sat, 2018-08-18 at 00:22 +0200, Sam Thursfield via BuildStream-list wrote:
> > On Fri, Aug 17, 2018 at 5:59 PM William Salmon via BuildStream-list <buildstream-list gnome org> wrote:
> > Has any one used buildstream and a debugger together? In the buildstream 
> > shell? I would like to know how far people have got with this, I know 
> > gnome use buildstream but many developers don't so i wondered if some 
> > gnome people had debuggers working already, or if this is a thing 
> > holding more back?
>
> I've been successfully using `gdb` inside a `bst shell` environment.
>
> There was an issue with debug symbols going to the wrong place (which
> seems to still be unmerged in master --
> https://gitlab.com/BuildStream/buildstream/merge_requests/529). With
> that fixed, GDB works pretty much as expected from inside the
> sandbox.

Sorry this one fell through the cracks Sam, the patch looks reasonable
to me, so long as we still are providing the strip commands (I think
there is another issue about this being very GNU/Linux specific).

As a side note, there is also a plan to expose the sources at the paths
they were built from as an option in the `bst shell`, with the goal of
providing better context for debugging too:

    https://gitlab.com/BuildStream/buildstream/issues/413

This will surely materialize in the coming cycle.

Cheers,
    -Tristan

_______________________________________________
BuildStream-list mailing list
BuildStream-list gnome org
https://mail.gnome.org/mailman/listinfo/buildstream-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]