Re: [BuildStream] Debuggers
- From: Tristan Van Berkom <tristan vanberkom codethink co uk>
- To: Sam Thursfield <ssssam gmail com>, will salmon codethink co uk
- Cc: buildstream-list gnome org
- Subject: Re: [BuildStream] Debuggers
- Date: Sun, 19 Aug 2018 15:26:34 +0900
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]