google-cloud-debugger 0.36.2 → 0.36.3

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: 4c6fdba2f188ed5e9eebd6f70800a3fb2c309eff8a413cbef41c50819a6e270a
4
- data.tar.gz: b14634126ba9ce25bf73decc35542dc44e6d186b52dd298a9779ad7201df156e
3
+ metadata.gz: f48f60bfac19b01bf730298af7c8b9aa4b69904ceef59e701425e0968243a7e0
4
+ data.tar.gz: 3bb6fb7c0ecb3c8dc171a12e1c42f5fb42da135362d3579658682f018b3b8a17
5
5
  SHA512:
6
- metadata.gz: 18b9857fe5a8a4ad2eb7883c132e6d7b72548800f562c82471f30093c7d84193b5d6d2d8b700c85291fef6157ba5af0dc9844a1751004618f0d72bf708f4a3b2
7
- data.tar.gz: 9fa5a8acb902ef5d93be54e66a4dfedde25d562e8103b6f77d849abe33bb45ec3dc0619e921e4ea3d3aa6e44a338a40c41639ac027a027153b7886b4d315cd46
6
+ metadata.gz: d01a4be423f55a36ff6793884a03759392e60654a9c99d282ed18266c74dbd64767c7f4cc80ed7e010a15634bf0cfdf02c9cb1337392cc4d95cbadb77a7849f3
7
+ data.tar.gz: 2151bda590cd1406d3e7746e6823ec0e0d3f13f31e41a437c1d92c7c67050a6b4f8d823efc978135062b2eb97b8fe9f0bfb9e7fa175e3b36ebb2e390eb2c6d0b
@@ -1,5 +1,11 @@
1
1
  # Release History
2
2
 
3
+ ### 0.36.3 / 2020-07-06
4
+
5
+ #### Bug Fixes
6
+
7
+ * Fix segfaults on Ruby 2.7
8
+
3
9
  ### 0.36.2 / 2020-05-28
4
10
 
5
11
  #### Documentation
@@ -208,25 +208,19 @@ line_trace_callback(rb_event_flag_t event, VALUE data, VALUE obj, ID mid, VALUE
208
208
  static VALUE
209
209
  disable_line_trace_for_thread(VALUE thread)
210
210
  {
211
- VALUE thread_variables_hash;
212
211
  VALUE line_trace_set;
213
- ID locals_id;
214
212
  ID line_trace_thread_id;
215
- VALUE line_trace_thread_flag;
216
213
 
217
- CONST_ID(locals_id, "locals");
218
214
  CONST_ID(line_trace_thread_id, "gcloud_line_trace_set");
219
- line_trace_thread_flag = ID2SYM(line_trace_thread_id);
220
215
 
221
216
  if (!RTEST(thread)) {
222
217
  thread = rb_thread_current();
223
218
  }
224
- thread_variables_hash = rb_ivar_get(thread, locals_id);
225
- line_trace_set = rb_hash_aref(thread_variables_hash, line_trace_thread_flag);
219
+ line_trace_set = rb_ivar_get(thread, line_trace_thread_id);
226
220
 
227
221
  if (RTEST(line_trace_set)) {
228
222
  rb_thread_remove_event_hook(thread, line_trace_callback);
229
- rb_hash_aset(thread_variables_hash, line_trace_thread_flag, Qfalse);
223
+ rb_ivar_set(thread, line_trace_thread_id, Qfalse);
230
224
  }
231
225
 
232
226
  return Qnil;
@@ -241,23 +235,17 @@ static VALUE
241
235
  enable_line_trace_for_thread(VALUE self)
242
236
  {
243
237
  VALUE current_thread;
244
- VALUE thread_variables_hash;
245
238
  VALUE line_trace_set;
246
- ID locals_id;
247
239
  ID line_trace_thread_id;
248
- VALUE line_trace_thread_flag;
249
240
 
250
- CONST_ID(locals_id, "locals");
251
241
  CONST_ID(line_trace_thread_id, "gcloud_line_trace_set");
252
- line_trace_thread_flag = ID2SYM(line_trace_thread_id);
253
242
 
254
243
  current_thread = rb_thread_current();
255
- thread_variables_hash = rb_ivar_get(current_thread, locals_id);
256
- line_trace_set = rb_hash_aref(thread_variables_hash, line_trace_thread_flag);
244
+ line_trace_set = rb_ivar_get(current_thread, line_trace_thread_id);
257
245
 
258
246
  if (!RTEST(line_trace_set)) {
259
247
  rb_thread_add_event_hook(current_thread, line_trace_callback, RUBY_EVENT_LINE, self);
260
- rb_hash_aset(thread_variables_hash, line_trace_thread_flag, Qtrue);
248
+ rb_ivar_set(current_thread, line_trace_thread_id, Qtrue);
261
249
  }
262
250
 
263
251
  return Qnil;
@@ -331,25 +319,19 @@ return_trace_callback(void *data, rb_trace_arg_t *trace_arg)
331
319
  static VALUE
332
320
  disable_return_trace_for_thread(VALUE thread)
333
321
  {
334
- VALUE thread_variables_hash;
335
322
  VALUE return_trace_set;
336
- ID locals_id;
337
323
  ID return_trace_thread_id;
338
- VALUE return_trace_thread_flag;
339
324
 
340
- CONST_ID(locals_id, "locals");
341
325
  CONST_ID(return_trace_thread_id, "gcloud_return_trace_set");
342
- return_trace_thread_flag = ID2SYM(return_trace_thread_id);
343
326
 
344
327
  if (!RTEST(thread)) {
345
328
  thread = rb_thread_current();
346
329
  }
347
- thread_variables_hash = rb_ivar_get(thread, locals_id);
348
- return_trace_set = rb_hash_aref(thread_variables_hash, return_trace_thread_flag);
330
+ return_trace_set = rb_ivar_get(thread, return_trace_thread_id);
349
331
 
350
332
  if (RTEST(return_trace_set)) {
351
333
  rb_thread_remove_event_hook(thread, (rb_event_hook_func_t)return_trace_callback);
352
- rb_hash_aset(thread_variables_hash, return_trace_thread_flag, Qfalse);
334
+ rb_ivar_set(thread, return_trace_thread_id, Qfalse);
353
335
  }
354
336
 
355
337
  return Qnil;
@@ -364,24 +346,17 @@ static VALUE
364
346
  enable_return_trace_for_thread(VALUE self)
365
347
  {
366
348
  VALUE current_thread;
367
- VALUE thread_variables_hash;
368
349
  VALUE return_trace_set;
369
-
370
- ID locals_id;
371
350
  ID return_trace_thread_id;
372
- VALUE return_trace_thread_flag;
373
351
 
374
- CONST_ID(locals_id, "locals");
375
352
  CONST_ID(return_trace_thread_id, "gcloud_return_trace_set");
376
- return_trace_thread_flag = ID2SYM(return_trace_thread_id);
377
353
 
378
354
  current_thread = rb_thread_current();
379
- thread_variables_hash = rb_ivar_get(current_thread, locals_id);
380
- return_trace_set = rb_hash_aref(thread_variables_hash, return_trace_thread_flag);
355
+ return_trace_set = rb_ivar_get(current_thread, return_trace_thread_id);
381
356
 
382
357
  if (!RTEST(return_trace_set)) {
383
358
  rb_thread_add_event_hook2(current_thread, (rb_event_hook_func_t)return_trace_callback, RETURN_TRACEPOINT_EVENTS, self, RUBY_EVENT_HOOK_FLAG_RAW_ARG | RUBY_EVENT_HOOK_FLAG_SAFE);
384
- rb_hash_aset(thread_variables_hash, return_trace_thread_flag, Qtrue);
359
+ rb_ivar_set(current_thread, return_trace_thread_id, Qtrue);
385
360
  }
386
361
 
387
362
  return Qnil;
@@ -89,7 +89,7 @@ module Google
89
89
  ##
90
90
  # @private Predefined regex. Saves time during runtime.
91
91
  FUNC_CALL_FLAG_BLACKLIST_REGEX =
92
- /<callinfo!.+#{FUNC_CALL_FLAG_BLACKLIST.join '|'}/.freeze
92
+ /<call(info|data)!.+#{FUNC_CALL_FLAG_BLACKLIST.join '|'}/.freeze
93
93
 
94
94
  ##
95
95
  # @private Predefined regex. Saves time during runtime.
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Debugger
19
- VERSION = "0.36.2".freeze
19
+ VERSION = "0.36.3".freeze
20
20
  end
21
21
  end
22
22
  end
@@ -37,14 +37,14 @@ end
37
37
  module Google
38
38
  module Devtools
39
39
  module Clouddebugger
40
- module V2
41
- RegisterDebuggeeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.RegisterDebuggeeRequest").msgclass
42
- RegisterDebuggeeResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.RegisterDebuggeeResponse").msgclass
43
- ListActiveBreakpointsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.ListActiveBreakpointsRequest").msgclass
44
- ListActiveBreakpointsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.ListActiveBreakpointsResponse").msgclass
45
- UpdateActiveBreakpointRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.UpdateActiveBreakpointRequest").msgclass
46
- UpdateActiveBreakpointResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.UpdateActiveBreakpointResponse").msgclass
47
- end
48
40
  end
49
41
  end
50
42
  end
43
+ module Google::Devtools::Clouddebugger::V2
44
+ RegisterDebuggeeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.RegisterDebuggeeRequest").msgclass
45
+ RegisterDebuggeeResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.RegisterDebuggeeResponse").msgclass
46
+ ListActiveBreakpointsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.ListActiveBreakpointsRequest").msgclass
47
+ ListActiveBreakpointsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.ListActiveBreakpointsResponse").msgclass
48
+ UpdateActiveBreakpointRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.UpdateActiveBreakpointRequest").msgclass
49
+ UpdateActiveBreakpointResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.UpdateActiveBreakpointResponse").msgclass
50
+ end
@@ -1,5 +1,5 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/devtools/clouddebugger/v2/controller.proto for package 'google.devtools.clouddebugger.v2'
2
+ # Source: google/devtools/clouddebugger/v2/controller.proto for package 'Google::Cloud::Debugger::V2'
3
3
  # Original file comments:
4
4
  # Copyright 2019 Google LLC.
5
5
  #
@@ -24,75 +24,75 @@ require 'google/devtools/clouddebugger/v2/controller_pb'
24
24
  module Google
25
25
  module Devtools
26
26
  module Clouddebugger
27
- module V2
28
- module Controller2
29
- # The Controller service provides the API for orchestrating a collection of
30
- # debugger agents to perform debugging tasks. These agents are each attached
31
- # to a process of an application which may include one or more replicas.
32
- #
33
- # The debugger agents register with the Controller to identify the application
34
- # being debugged, the Debuggee. All agents that register with the same data,
35
- # represent the same Debuggee, and are assigned the same `debuggee_id`.
36
- #
37
- # The debugger agents call the Controller to retrieve the list of active
38
- # Breakpoints. Agents with the same `debuggee_id` get the same breakpoints
39
- # list. An agent that can fulfill the breakpoint request updates the
40
- # Controller with the breakpoint result. The controller selects the first
41
- # result received and discards the rest of the results.
42
- # Agents that poll again for active breakpoints will no longer have
43
- # the completed breakpoint in the list and should remove that breakpoint from
44
- # their attached process.
45
- #
46
- # The Controller service does not provide a way to retrieve the results of
47
- # a completed breakpoint. This functionality is available using the Debugger
48
- # service.
49
- class Service
50
-
51
- include GRPC::GenericService
27
+ end
28
+ end
29
+ end
30
+ module Google::Devtools::Clouddebugger::V2
31
+ module Controller2
32
+ # The Controller service provides the API for orchestrating a collection of
33
+ # debugger agents to perform debugging tasks. These agents are each attached
34
+ # to a process of an application which may include one or more replicas.
35
+ #
36
+ # The debugger agents register with the Controller to identify the application
37
+ # being debugged, the Debuggee. All agents that register with the same data,
38
+ # represent the same Debuggee, and are assigned the same `debuggee_id`.
39
+ #
40
+ # The debugger agents call the Controller to retrieve the list of active
41
+ # Breakpoints. Agents with the same `debuggee_id` get the same breakpoints
42
+ # list. An agent that can fulfill the breakpoint request updates the
43
+ # Controller with the breakpoint result. The controller selects the first
44
+ # result received and discards the rest of the results.
45
+ # Agents that poll again for active breakpoints will no longer have
46
+ # the completed breakpoint in the list and should remove that breakpoint from
47
+ # their attached process.
48
+ #
49
+ # The Controller service does not provide a way to retrieve the results of
50
+ # a completed breakpoint. This functionality is available using the Debugger
51
+ # service.
52
+ class Service
52
53
 
53
- self.marshal_class_method = :encode
54
- self.unmarshal_class_method = :decode
55
- self.service_name = 'google.devtools.clouddebugger.v2.Controller2'
54
+ include GRPC::GenericService
56
55
 
57
- # Registers the debuggee with the controller service.
58
- #
59
- # All agents attached to the same application must call this method with
60
- # exactly the same request content to get back the same stable `debuggee_id`.
61
- # Agents should call this method again whenever `google.rpc.Code.NOT_FOUND`
62
- # is returned from any controller method.
63
- #
64
- # This protocol allows the controller service to disable debuggees, recover
65
- # from data loss, or change the `debuggee_id` format. Agents must handle
66
- # `debuggee_id` value changing upon re-registration.
67
- rpc :RegisterDebuggee, RegisterDebuggeeRequest, RegisterDebuggeeResponse
68
- # Returns the list of all active breakpoints for the debuggee.
69
- #
70
- # The breakpoint specification (`location`, `condition`, and `expressions`
71
- # fields) is semantically immutable, although the field values may
72
- # change. For example, an agent may update the location line number
73
- # to reflect the actual line where the breakpoint was set, but this
74
- # doesn't change the breakpoint semantics.
75
- #
76
- # This means that an agent does not need to check if a breakpoint has changed
77
- # when it encounters the same breakpoint on a successive call.
78
- # Moreover, an agent should remember the breakpoints that are completed
79
- # until the controller removes them from the active list to avoid
80
- # setting those breakpoints again.
81
- rpc :ListActiveBreakpoints, ListActiveBreakpointsRequest, ListActiveBreakpointsResponse
82
- # Updates the breakpoint state or mutable fields.
83
- # The entire Breakpoint message must be sent back to the controller service.
84
- #
85
- # Updates to active breakpoint fields are only allowed if the new value
86
- # does not change the breakpoint specification. Updates to the `location`,
87
- # `condition` and `expressions` fields should not alter the breakpoint
88
- # semantics. These may only make changes such as canonicalizing a value
89
- # or snapping the location to the correct line of code.
90
- rpc :UpdateActiveBreakpoint, UpdateActiveBreakpointRequest, UpdateActiveBreakpointResponse
91
- end
56
+ self.marshal_class_method = :encode
57
+ self.unmarshal_class_method = :decode
58
+ self.service_name = 'google.devtools.clouddebugger.v2.Controller2'
92
59
 
93
- Stub = Service.rpc_stub_class
94
- end
95
- end
60
+ # Registers the debuggee with the controller service.
61
+ #
62
+ # All agents attached to the same application must call this method with
63
+ # exactly the same request content to get back the same stable `debuggee_id`.
64
+ # Agents should call this method again whenever `google.rpc.Code.NOT_FOUND`
65
+ # is returned from any controller method.
66
+ #
67
+ # This protocol allows the controller service to disable debuggees, recover
68
+ # from data loss, or change the `debuggee_id` format. Agents must handle
69
+ # `debuggee_id` value changing upon re-registration.
70
+ rpc :RegisterDebuggee, RegisterDebuggeeRequest, RegisterDebuggeeResponse
71
+ # Returns the list of all active breakpoints for the debuggee.
72
+ #
73
+ # The breakpoint specification (`location`, `condition`, and `expressions`
74
+ # fields) is semantically immutable, although the field values may
75
+ # change. For example, an agent may update the location line number
76
+ # to reflect the actual line where the breakpoint was set, but this
77
+ # doesn't change the breakpoint semantics.
78
+ #
79
+ # This means that an agent does not need to check if a breakpoint has changed
80
+ # when it encounters the same breakpoint on a successive call.
81
+ # Moreover, an agent should remember the breakpoints that are completed
82
+ # until the controller removes them from the active list to avoid
83
+ # setting those breakpoints again.
84
+ rpc :ListActiveBreakpoints, ListActiveBreakpointsRequest, ListActiveBreakpointsResponse
85
+ # Updates the breakpoint state or mutable fields.
86
+ # The entire Breakpoint message must be sent back to the controller service.
87
+ #
88
+ # Updates to active breakpoint fields are only allowed if the new value
89
+ # does not change the breakpoint specification. Updates to the `location`,
90
+ # `condition` and `expressions` fields should not alter the breakpoint
91
+ # semantics. These may only make changes such as canonicalizing a value
92
+ # or snapping the location to the correct line of code.
93
+ rpc :UpdateActiveBreakpoint, UpdateActiveBreakpointRequest, UpdateActiveBreakpointResponse
96
94
  end
95
+
96
+ Stub = Service.rpc_stub_class
97
97
  end
98
98
  end
@@ -91,18 +91,18 @@ end
91
91
  module Google
92
92
  module Devtools
93
93
  module Clouddebugger
94
- module V2
95
- FormatMessage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.FormatMessage").msgclass
96
- StatusMessage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.StatusMessage").msgclass
97
- StatusMessage::Reference = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.StatusMessage.Reference").enummodule
98
- SourceLocation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.SourceLocation").msgclass
99
- Variable = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.Variable").msgclass
100
- StackFrame = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.StackFrame").msgclass
101
- Breakpoint = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.Breakpoint").msgclass
102
- Breakpoint::Action = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.Breakpoint.Action").enummodule
103
- Breakpoint::LogLevel = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.Breakpoint.LogLevel").enummodule
104
- Debuggee = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.Debuggee").msgclass
105
- end
106
94
  end
107
95
  end
108
96
  end
97
+ module Google::Devtools::Clouddebugger::V2
98
+ FormatMessage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.FormatMessage").msgclass
99
+ StatusMessage = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.StatusMessage").msgclass
100
+ StatusMessage::Reference = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.StatusMessage.Reference").enummodule
101
+ SourceLocation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.SourceLocation").msgclass
102
+ Variable = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.Variable").msgclass
103
+ StackFrame = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.StackFrame").msgclass
104
+ Breakpoint = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.Breakpoint").msgclass
105
+ Breakpoint::Action = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.Breakpoint.Action").enummodule
106
+ Breakpoint::LogLevel = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.Breakpoint.LogLevel").enummodule
107
+ Debuggee = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.Debuggee").msgclass
108
+ end
@@ -60,18 +60,18 @@ end
60
60
  module Google
61
61
  module Devtools
62
62
  module Clouddebugger
63
- module V2
64
- SetBreakpointRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.SetBreakpointRequest").msgclass
65
- SetBreakpointResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.SetBreakpointResponse").msgclass
66
- GetBreakpointRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.GetBreakpointRequest").msgclass
67
- GetBreakpointResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.GetBreakpointResponse").msgclass
68
- DeleteBreakpointRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.DeleteBreakpointRequest").msgclass
69
- ListBreakpointsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.ListBreakpointsRequest").msgclass
70
- ListBreakpointsRequest::BreakpointActionValue = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.ListBreakpointsRequest.BreakpointActionValue").msgclass
71
- ListBreakpointsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.ListBreakpointsResponse").msgclass
72
- ListDebuggeesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.ListDebuggeesRequest").msgclass
73
- ListDebuggeesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.ListDebuggeesResponse").msgclass
74
- end
75
63
  end
76
64
  end
77
65
  end
66
+ module Google::Devtools::Clouddebugger::V2
67
+ SetBreakpointRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.SetBreakpointRequest").msgclass
68
+ SetBreakpointResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.SetBreakpointResponse").msgclass
69
+ GetBreakpointRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.GetBreakpointRequest").msgclass
70
+ GetBreakpointResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.GetBreakpointResponse").msgclass
71
+ DeleteBreakpointRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.DeleteBreakpointRequest").msgclass
72
+ ListBreakpointsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.ListBreakpointsRequest").msgclass
73
+ ListBreakpointsRequest::BreakpointActionValue = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.ListBreakpointsRequest.BreakpointActionValue").msgclass
74
+ ListBreakpointsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.ListBreakpointsResponse").msgclass
75
+ ListDebuggeesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.ListDebuggeesRequest").msgclass
76
+ ListDebuggeesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouddebugger.v2.ListDebuggeesResponse").msgclass
77
+ end
@@ -1,5 +1,5 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/devtools/clouddebugger/v2/debugger.proto for package 'google.devtools.clouddebugger.v2'
2
+ # Source: google/devtools/clouddebugger/v2/debugger.proto for package 'Google::Cloud::Debugger::V2'
3
3
  # Original file comments:
4
4
  # Copyright 2019 Google LLC.
5
5
  #
@@ -24,43 +24,43 @@ require 'google/devtools/clouddebugger/v2/debugger_pb'
24
24
  module Google
25
25
  module Devtools
26
26
  module Clouddebugger
27
- module V2
28
- module Debugger2
29
- # The Debugger service provides the API that allows users to collect run-time
30
- # information from a running application, without stopping or slowing it down
31
- # and without modifying its state. An application may include one or
32
- # more replicated processes performing the same work.
33
- #
34
- # A debugged application is represented using the Debuggee concept. The
35
- # Debugger service provides a way to query for available debuggees, but does
36
- # not provide a way to create one. A debuggee is created using the Controller
37
- # service, usually by running a debugger agent with the application.
38
- #
39
- # The Debugger service enables the client to set one or more Breakpoints on a
40
- # Debuggee and collect the results of the set Breakpoints.
41
- class Service
42
-
43
- include GRPC::GenericService
27
+ end
28
+ end
29
+ end
30
+ module Google::Devtools::Clouddebugger::V2
31
+ module Debugger2
32
+ # The Debugger service provides the API that allows users to collect run-time
33
+ # information from a running application, without stopping or slowing it down
34
+ # and without modifying its state. An application may include one or
35
+ # more replicated processes performing the same work.
36
+ #
37
+ # A debugged application is represented using the Debuggee concept. The
38
+ # Debugger service provides a way to query for available debuggees, but does
39
+ # not provide a way to create one. A debuggee is created using the Controller
40
+ # service, usually by running a debugger agent with the application.
41
+ #
42
+ # The Debugger service enables the client to set one or more Breakpoints on a
43
+ # Debuggee and collect the results of the set Breakpoints.
44
+ class Service
44
45
 
45
- self.marshal_class_method = :encode
46
- self.unmarshal_class_method = :decode
47
- self.service_name = 'google.devtools.clouddebugger.v2.Debugger2'
46
+ include GRPC::GenericService
48
47
 
49
- # Sets the breakpoint to the debuggee.
50
- rpc :SetBreakpoint, SetBreakpointRequest, SetBreakpointResponse
51
- # Gets breakpoint information.
52
- rpc :GetBreakpoint, GetBreakpointRequest, GetBreakpointResponse
53
- # Deletes the breakpoint from the debuggee.
54
- rpc :DeleteBreakpoint, DeleteBreakpointRequest, Google::Protobuf::Empty
55
- # Lists all breakpoints for the debuggee.
56
- rpc :ListBreakpoints, ListBreakpointsRequest, ListBreakpointsResponse
57
- # Lists all the debuggees that the user has access to.
58
- rpc :ListDebuggees, ListDebuggeesRequest, ListDebuggeesResponse
59
- end
48
+ self.marshal_class_method = :encode
49
+ self.unmarshal_class_method = :decode
50
+ self.service_name = 'google.devtools.clouddebugger.v2.Debugger2'
60
51
 
61
- Stub = Service.rpc_stub_class
62
- end
63
- end
52
+ # Sets the breakpoint to the debuggee.
53
+ rpc :SetBreakpoint, SetBreakpointRequest, SetBreakpointResponse
54
+ # Gets breakpoint information.
55
+ rpc :GetBreakpoint, GetBreakpointRequest, GetBreakpointResponse
56
+ # Deletes the breakpoint from the debuggee.
57
+ rpc :DeleteBreakpoint, DeleteBreakpointRequest, Google::Protobuf::Empty
58
+ # Lists all breakpoints for the debuggee.
59
+ rpc :ListBreakpoints, ListBreakpointsRequest, ListBreakpointsResponse
60
+ # Lists all the debuggees that the user has access to.
61
+ rpc :ListDebuggees, ListDebuggeesRequest, ListDebuggeesResponse
64
62
  end
63
+
64
+ Stub = Service.rpc_stub_class
65
65
  end
66
66
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-debugger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.2
4
+ version: 0.36.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Heng Xiong
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-28 00:00:00.000000000 Z
11
+ date: 2020-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: binding_of_caller
@@ -404,7 +404,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
404
404
  - !ruby/object:Gem::Version
405
405
  version: '0'
406
406
  requirements: []
407
- rubygems_version: 3.0.6
407
+ rubygems_version: 3.1.3
408
408
  signing_key:
409
409
  specification_version: 4
410
410
  summary: API Client and instrumentation library for Stackdriver Debugger