aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/lldbtest.py
diff options
context:
space:
mode:
authorJorge Gorbe Moya <jgorbe@google.com>2019-03-13 23:50:35 +0000
committerJorge Gorbe Moya <jgorbe@google.com>2019-03-13 23:50:35 +0000
commitd383a342aaa001439d59cb09d3a86ca3c54f8713 (patch)
treebf6d2588c71e4d1a9c2d28e2726f8be2db685c3e /lldb/packages/Python/lldbsuite/test/lldbtest.py
parente4aa3f82640a298705fcb4160432c76fff2db437 (diff)
downloadllvm-d383a342aaa001439d59cb09d3a86ca3c54f8713.zip
llvm-d383a342aaa001439d59cb09d3a86ca3c54f8713.tar.gz
llvm-d383a342aaa001439d59cb09d3a86ca3c54f8713.tar.bz2
[lldb-vscode] Don't try to launch an invalid program.
If an invalid program is specified, lldb-vscode will send back a response with "success" = false, but then will continue executing the rest of request_launch(), try to launch the program anyway and try to send another response (possibly using the `response` object after it was moved). This change adds a return statement so we stop executing the handler after producing the first failing response. Differential Revision: https://reviews.llvm.org/D59340 llvm-svn: 356110
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
0 files changed, 0 insertions, 0 deletions