[Lldb-commits] [PATCH] D58125: Add ability to import std module into expression parser to improve C++ debugging

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 4 10:59:48 PST 2019


aprantl added inline comments.


================
Comment at: lldb/packages/Python/lldbsuite/test/expression_command/import-std-module/conflicts/TestStdModuleWithConflicts.py:35
+
+        self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
+
----------------
teemperor wrote:
> aprantl wrote:
> > what's that for?
> I think that's how we set our executable as the target? It's frankly cargo-culted setup code that we use in a few hundred other tests.
lldbutil.run_break_set_by_file_and_line should be all you need. It has a.out as a default argument. So I don't think you need this line or the one defining exe, or the dictionary=... argument to build().


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58125/new/

https://reviews.llvm.org/D58125





More information about the lldb-commits mailing list