@@ -309,7 +309,10 @@ pub fn (mut pi RpvProcessInformation) update(mut resolver SymbolResolver)!
309309 {
310310 for mut intf_info in pi.rpc_info.interface_infos
311311 {
312- resolver.attach_pdb (process_handle, intf_info.location.base, intf_info.location.size) or {}
312+ resolver.attach_pdb (process_handle, intf_info.location.base, intf_info.location.size) or {
313+ utils.log_debug ('Failed to attach PDB resolver: ${err} ' )
314+ }
315+
313316 intf_info.name = resolver.load_uuid (intf_info.id)
314317
315318 for mut method in intf_info.methods
@@ -320,7 +323,9 @@ pub fn (mut pi RpvProcessInformation) update(mut resolver SymbolResolver)!
320323 if intf_info.sec_callback.addr != & voidptr (0 )
321324 {
322325 if intf_info.sec_callback.location.base != intf_info.location.base {
323- resolver.attach_pdb (process_handle, intf_info.sec_callback.location.base, intf_info.sec_callback.location.size) or {}
326+ resolver.attach_pdb (process_handle, intf_info.sec_callback.location.base, intf_info.sec_callback.location.size) or {
327+ utils.log_debug ('Failed to attach PDB resolver: ${err} ' )
328+ }
324329 }
325330
326331 intf_info.sec_callback.name = resolver.load_symbol (intf_info.sec_callback.location.path, u64 (intf_info.sec_callback.addr)) or { '' }
@@ -626,7 +631,9 @@ pub fn (interface_info RpcInterfaceBasicInfo) enrich_h(process_handle win.HANDLE
626631 mut midl_stub_desc := C.MIDL_STUB_DESC{}
627632
628633 mut rpc_methods := []RpcMethod{cap: int (dispatch_table.DispatchTableCount)}
629- resolver.attach_pdb (process_handle, location_info.base, location_info.size) or {}
634+ resolver.attach_pdb (process_handle, location_info.base, location_info.size) or {
635+ utils.log_debug ('Failed to attach PDB resolver: ${err} ' )
636+ }
630637
631638 if interface_info.intf.server_interface.interpreter_info != & voidptr (0 )
632639 {
@@ -663,7 +670,9 @@ pub fn (interface_info RpcInterfaceBasicInfo) enrich_h(process_handle win.HANDLE
663670 sec_callback.location = sec_location
664671
665672 if location_info.base != sec_location.base {
666- resolver.attach_pdb (process_handle, sec_location.base, sec_location.size) or {}
673+ resolver.attach_pdb (process_handle, sec_location.base, sec_location.size) or {
674+ utils.log_debug ('Failed to attach PDB resolver: ${err} ' )
675+ }
667676 }
668677
669678 sec_callback.name = resolver.load_symbol (sec_location.path, u64 (sec_callback.addr)) or { '' }
0 commit comments