[kde] [Bug 368603] crash when starting an lldb debug session

Aetf via KDE Bugzilla bugzilla_noreply at kde.org
Mon Sep 12 16:53:36 BST 2016


https://bugs.kde.org/show_bug.cgi?id=368603

Aetf <7437103 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned-bugs at kde.org     |7437103 at gmail.com
             Status|NEEDSINFO                   |ASSIGNED
         Resolution|WAITINGFORINFO              |---
     Ever confirmed|0                           |1

--- Comment #8 from Aetf <7437103 at gmail.com> ---
Created attachment 101057
  --> https://bugs.kde.org/attachment.cgi?id=101057&action=edit
Fix Bug 268603, warn the user about unsupported lldb version

I'm not sure it's a good idea to direct link to liblldb (I'm not aware any
major IDE doing that). And building yet another proxy executable from scratch
would be reinventing the wheel compared to lldb-mi, which is exactly a proxy
already.

Anyway, there's the first attempt to fix this bug, the patch does the
following:

- warn the user about unsupported lldb version
- reject user command if an unsupported version is found (to prevent crash on
invalid message)

Could you try if this works for you?

But I have no idea how to make the warning with an option to "Don't show it
again". I suppose there should be some library function that I should call. Do
you know any warnings shown by KDevelop already has this feature? Maybe I can
look at that code to see how to implement this.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list