Provide an easy way to run the app with tools like gdb, valgrind, strace, etc.

Bug #1649873 reported by Alberto Mardegan
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

The command

  snap run --shell <snap>

is useful, but running the application under an external program is still cumbersome, given that one should first include these programs in the snap, and then hope that the confinement allows the wrapper program to operate properly.

Ideally, one could wrap the whole "snap run" command, like this:

  strace -f snap run <snap>

but that appears to hang when snap-confine is being called. Anyway, some way to quickly debug the app would be great.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snapd (Ubuntu):
status: New → Confirmed
Michael Vogt (mvo)
Changed in snapd (Ubuntu):
importance: Undecided → Wishlist
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.