summaryrefslogtreecommitdiff
path: root/cross-project-tests/debuginfo-tests/dexter/dex/debugger/Debuggers.py
diff options
context:
space:
mode:
Diffstat (limited to 'cross-project-tests/debuginfo-tests/dexter/dex/debugger/Debuggers.py')
-rw-r--r--cross-project-tests/debuginfo-tests/dexter/dex/debugger/Debuggers.py16
1 files changed, 15 insertions, 1 deletions
diff --git a/cross-project-tests/debuginfo-tests/dexter/dex/debugger/Debuggers.py b/cross-project-tests/debuginfo-tests/dexter/dex/debugger/Debuggers.py
index 48cb7e1a0789..c85310b37a8f 100644
--- a/cross-project-tests/debuginfo-tests/dexter/dex/debugger/Debuggers.py
+++ b/cross-project-tests/debuginfo-tests/dexter/dex/debugger/Debuggers.py
@@ -121,7 +121,21 @@ def add_debugger_tool_arguments(parser, context, defaults):
default='',
help='command line arguments for the test program, in addition to any '
'provided by DexCommandLine')
-
+ parser.add_argument(
+ '--timeout-total',
+ metavar='<seconds>',
+ type=float,
+ default=0.0,
+ help='if >0, debugger session will automatically exit after '
+ 'running for <timeout-total> seconds')
+ parser.add_argument(
+ '--timeout-breakpoint',
+ metavar='<seconds>',
+ type=float,
+ default=0.0,
+ help='if >0, debugger session will automatically exit after '
+ 'waiting <timeout-breakpoint> seconds without hitting a '
+ 'breakpoint')
def handle_debugger_tool_base_options(context, defaults): # noqa
options = context.options