Opened 6 years ago
Last modified 20 months ago
#15087 new enhancement
Debugger - Permanently skip request to install 3rd party debug information
Reported by: | smallstepforman | Owned by: | anevilyak |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/Debugger | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
While debugging using native Debugger application (great tool), when debug information for 3rd party libraries is not present, an option to install it pops up (great). However, most developers are not interested in debugging ffmpeg, libjpeg, mesa, libiconv etc. Can an option to "permanently" skip looking for debug information files be added to Debugger? This will also speed up loading of the Debugger application
Change History (4)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Not necessarily a duplicate. If I understand this request correctly, unlike #14601, the desired behavior is for the Debugger to permanently remember the skipped selection across sessions (ergo, never install e.g. libjpeg_devel), which is a bit more involved, since some persistence in settings is necessary. As such, leaving this open.
follow-up: 4 comment:3 by , 5 years ago
I would propose to add a menu option to install missing packages, and change the prompt to prompt /once/ for all packages i.e "install missing deps debug packages for team blah? [list] <yes> <no>"
comment:4 by , 20 months ago
Replying to nephele:
I would propose to add a menu option to install missing packages, and change the prompt to prompt /once/ for all packages i.e "install missing deps debug packages for team blah? [list] <yes> <no>"
This was already suggested in #14601 with a reply there explaining that it will need some refactoring to make this possible.
I have made a change to add a "don't ask again" button in https://review.haiku-os.org/c/haiku/+/6398 , but it will need a bit more work to add saving and restoring the user choice, as well as some more GUI to allow changing the choice later on.
Personally, I like to be asked each time I start Debugger, because I do use debuginfo packages for the things I'm looking at, and sometimes want to install them.
I think one other thing we should look into is reducing the number of libraries we load into each executable, the media kit with ffmpeg and the translation kit with all the translators load quite a bit of things that in most cases never get used, we should try to do more lazy-loading in both of these, so that we load the external libraries and translators only when they are really needed. This would cut down on the number of messages to get through and also reduce RAM usage overall.
Duplicate of #14601.