File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ def thread_stop_pkt_to_reason(self, tdict):
252
252
mecount = tdict .get ('mecount' , '-1' )
253
253
if mecount != None : mecount = int (mecount , 16 )
254
254
medata = tdict .get ('medata' , '-1' )
255
- print ('signal=0x%X metype=%s mecount=%s medata=%s' % (signal , metype , mecount , medata ))
255
+ # print('signal=0x%X metype=%s mecount=%s medata=%s' % (signal, metype, mecount, medata))
256
256
257
257
# map the packet macos/lldb "T packet" data to a DebugAdapter reason
258
258
result = (DebugAdapter .STOP_REASON .UNKNOWN , None )
Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ def navigate_to_rip(self):
309
309
# Highlight lines
310
310
def update_highlights (self ):
311
311
# Clear old highlighted rip
312
- for func in self .state .bv .get_functions_containing (self .last_ip ):
312
+ for func in ( self .state .bv .get_functions_containing (self .last_ip ) or [] ):
313
313
func .set_auto_instr_highlight (self .last_ip , HighlightStandardColor .NoHighlightColor )
314
314
315
315
for (module , offset ) in self .state .breakpoints :
@@ -323,7 +323,7 @@ def update_highlights(self):
323
323
remote_rip = self .state .ip
324
324
local_rip = self .state .memory_view .remote_addr_to_local (remote_rip )
325
325
326
- for func in self .state .bv .get_functions_containing (local_rip ):
326
+ for func in ( self .state .bv .get_functions_containing (local_rip ) or [] ):
327
327
func .set_auto_instr_highlight (local_rip , HighlightStandardColor .BlueHighlightColor )
328
328
329
329
def update_modules (self ):
You can’t perform that action at this time.
0 commit comments