Bug 1452689
| Summary: | Debugging with LLDB hangs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Gavin Rosenbush <grosenbush> | ||||
| Component: | qt-creator | Assignee: | Itamar Reis Peixoto <itamar> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 25 | CC: | davejohansen, grosenbush, helio, itamar, jreznik, manisandro, rdieter | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-05-20 21:02:57 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Hmm not sure here. LLDB itself isn't a dependency of qt-creator, and indeed the same way qt-creator doesn't require a specific compiler, it should also not require a specific debugger. The user is free to install LLDB if he wishes to use it, that also python-lldb is required is something I'm afraid we cannot control with the qt-creator packaging. Closing as NOTABUG; feel free to reopen if you have another opinion. |
Created attachment 1280420 [details] Patch to qt-creator.spec to require python-lldb Description of problem: Debugging won't start if LLDB is used as the debugger. Version-Release number of selected component (if applicable): 4.1.0-2.fc25.2 The bug may be present in other Fedora versions. I've only tested with 25. How reproducible: Always Steps to Reproduce: 1. Create a project and set debugger to LLDB 2. Start debugging Actual results: "Debugging starts" is displayed, but the process to be debugged is not launched and no further feedback is given, unless you view the debugger log, where you see the following: ERROR: Lldb stderr: Traceback (most recent call last): File "<string>", line 1, in <module> ERROR: Lldb stderr: ImportError: No module named lldb.embedded_interpreter Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'run_one_line' is not defined Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'run_one_line' is not defined Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'run_one_line' is not defined Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'run_one_line' is not defined Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'run_one_line' is not defined Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'run_one_line' is not defined ERROR: Lldb stderr: error: python failed attempting to evaluate 'print('@\nlldbstartupok@\n')' Expected results: Debugging begins successfully. Additional info: The solution is to install package 'python-lldb'. Attaching a proposed (untested) patch to qt-creator.spec.