| 59 | using KDevMI::Testing::waitForAWhile; |
| 60 | |
| 61 | class TestDebugSession : public DebugSession |
| 62 | { |
| 63 | Q_OBJECT |
| 64 | public: |
| 65 | TestDebugSession() : DebugSession() |
| 66 | { |
| 67 | setSourceInitFile(false); |
| 68 | // explicit set formatter path to force use in-tree formatters, not the one installed in system. |
| 69 | auto formatter = findFile(LLDB_SRC_DIR, "formatters/all.py"); |
| 70 | setFormatterPath(formatter); |
| 71 | |
| 72 | KDevelop::ICore::self()->debugController()->addSession(this); |
| 73 | |
| 74 | variableController()->setAutoUpdate(IVariableController::UpdateLocals); |
| 75 | } |
| 76 | }; |
| 77 | |
| 78 | VariableCollection *LldbFormattersTest::variableCollection() |
| 79 | { |
nothing calls this directly
no test coverage detected