lldbrun 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/lldbrun/BreakPoint.rb +1 -1
- data/lib/lldbrun/ParserARGV.rb +7 -1
- data/lib/lldbrun/ParserPoint.rb +5 -0
- data/lib/lldbrun/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f1828139381732f5c23d2c41144814ebb8fe30aaccbf3e58c720f3ad49b0a08
|
4
|
+
data.tar.gz: 6a2873a497f811455b1822285404572f8dca21f300dc0ff908a7e468bf3d26fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b1ee3f791d25f85c0b3789bfa47e51ca2ae0630fba0aec50542b57aceffadf0fa3db35c15612d5e3910c1a6cd1e844453307ca2381c46f42e3ca8fbc70b9bb8
|
7
|
+
data.tar.gz: 14e483c0b53cf2cf65ad5a9176caff604cef995884f0884a3e789a698c7a59840e53c711185786d13578023d0ca785a068ef338a3fb5836ff0795af9680dff80
|
data/lib/lldbrun/BreakPoint.rb
CHANGED
data/lib/lldbrun/ParserARGV.rb
CHANGED
@@ -11,6 +11,7 @@ module Lldbrun
|
|
11
11
|
PARAMETER_SCAN_DIR = '-s'
|
12
12
|
PARAMETER_HELP = '-h'
|
13
13
|
PARAMETER_RUN = '-r'
|
14
|
+
PARAMETER_SKIP = '-n'
|
14
15
|
PARAMETER_LLDB = '-e'
|
15
16
|
PARAMETER_LLDB_OPTIONS = '-l'
|
16
17
|
|
@@ -40,6 +41,10 @@ module Lldbrun
|
|
40
41
|
params[PARAMETER_RUN] ? params[PARAMETER_RUN] == 'true' : true
|
41
42
|
end
|
42
43
|
|
44
|
+
def param_skip_first_step?
|
45
|
+
params[PARAMETER_SKIP] ? params[PARAMETER_SKIP] == 'true' : true
|
46
|
+
end
|
47
|
+
|
43
48
|
def param_lldb
|
44
49
|
params[PARAMETER_LLDB] or search_lldb
|
45
50
|
end
|
@@ -57,7 +62,8 @@ module Lldbrun
|
|
57
62
|
descriptions << ["#{PARAMETER_FILE_PATH} <path> executable file of your program"]
|
58
63
|
descriptions << ["#{PARAMETER_SCAN_DIR} <path> root directory for scan breakpoints. Default - current terminal directory"]
|
59
64
|
descriptions << ["#{PARAMETER_LLDB} <' ... '>standard parameters LLDB in quotes -l '...' "]
|
60
|
-
descriptions << ["#{PARAMETER_RUN} <true/false> auto run LLDB after initialize breakpoints"]
|
65
|
+
descriptions << ["#{PARAMETER_RUN} <true/false> auto run LLDB after initialize breakpoints. Default - true"]
|
66
|
+
descriptions << ["#{PARAMETER_SKIP} <true/false> auto skip first breakpoint after run. Default - true"]
|
61
67
|
descriptions << ["#{PARAMETER_HELP} <> this help"]
|
62
68
|
end
|
63
69
|
|
data/lib/lldbrun/ParserPoint.rb
CHANGED
@@ -32,6 +32,7 @@ module Lldbrun
|
|
32
32
|
end
|
33
33
|
lldb_command << lldb_breakpoint_by_method_name
|
34
34
|
lldb_command << lldb_run
|
35
|
+
lldb_command << lldb_skip_first_step
|
35
36
|
|
36
37
|
lldb_command
|
37
38
|
end
|
@@ -52,6 +53,10 @@ module Lldbrun
|
|
52
53
|
argv_parser.param_auto_run? ? ' -o run' : ''
|
53
54
|
end
|
54
55
|
|
56
|
+
def lldb_skip_first_step
|
57
|
+
argv_parser.param_skip_first_step? ? ' -o next' : ''
|
58
|
+
end
|
59
|
+
|
55
60
|
def full_path(dir, name)
|
56
61
|
"#{dir}/#{name}"
|
57
62
|
end
|
data/lib/lldbrun/version.rb
CHANGED