lldbrun 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 51bc8f7923be8eb61169fe83a3c19936863cdaed70b9d66655944338e565b87f
4
- data.tar.gz: 3154dd190e1b5309f8031b1914e80434e6094aff49a72215d18b5a8a61ddef90
3
+ metadata.gz: 7f1828139381732f5c23d2c41144814ebb8fe30aaccbf3e58c720f3ad49b0a08
4
+ data.tar.gz: 6a2873a497f811455b1822285404572f8dca21f300dc0ff908a7e468bf3d26fb
5
5
  SHA512:
6
- metadata.gz: 892eff775bc6cd59237c7b750c3ac74a3424326e6dfec706d3c2544b19aa5c6f23ca89be80a7d77a27c6d5e1a73d73e8f8c56cd3f8a4d682267869c5a18e3d48
7
- data.tar.gz: 822ab9b19204104817f3b3a87be8e131dcbf77cc76d00ebca003357a3ffb2ec878451c3b77a262b70645d85f823bffa9b46a71d8743b3c4d7cf1763b8406427d
6
+ metadata.gz: 4b1ee3f791d25f85c0b3789bfa47e51ca2ae0630fba0aec50542b57aceffadf0fa3db35c15612d5e3910c1a6cd1e844453307ca2381c46f42e3ca8fbc70b9bb8
7
+ data.tar.gz: 14e483c0b53cf2cf65ad5a9176caff604cef995884f0884a3e789a698c7a59840e53c711185786d13578023d0ca785a068ef338a3fb5836ff0795af9680dff80
@@ -13,7 +13,7 @@ module Lldbrun
13
13
  end
14
14
 
15
15
  def self.lldb_set_method_name_breakpoint
16
- "breakpoint set --name lldbpoint"
16
+ "breakpoint set --func-regex lldbpoint"
17
17
  end
18
18
  end
19
19
  end
@@ -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
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Lldbrun
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lldbrun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleh Hudeichuk