[all-commits] [llvm/llvm-project] 4bb3cb: [lldb] Show the actual error when 'watchpoint set ...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Thu Feb 27 03:07:23 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bb3cb2bcb59d2139dfd9fbaa7c475dcf8507242
      https://github.com/llvm/llvm-project/commit/4bb3cb2bcb59d2139dfd9fbaa7c475dcf8507242
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2020-02-27 (Thu, 27 Feb 2020)

  Changed paths:
    M lldb/source/Commands/CommandObjectWatchpoint.cpp

  Log Message:
  -----------
  [lldb] Show the actual error when 'watchpoint set expression' failed

Currently we only show the user that the expression failed but not
what is actually wrong with it. This just dumps the error we get
back alongside the other output to the error stream.

This should also help with finding out with why sometimees the
TestWatchLocationWithWatchSet.py test fails here on the LLDB
incremental bot on Green Dragon.




More information about the All-commits mailing list