MCPcopy Create free account
hub / github.com/nodejs/node / CopyDebuggerFile

Function CopyDebuggerFile

deps/v8/tools/v8windbg/copy-prereqs.py:23–36  ·  view source on GitHub ↗
(debug_file)

Source from the content-addressed store, hash-verified

21import vs_toolchain
22
23def CopyDebuggerFile(debug_file):
24 win_sdk_dir = vs_toolchain.SetEnvironmentAndGetSDKDir()
25 if not win_sdk_dir:
26 return
27
28 full_path = os.path.join(win_sdk_dir, 'Debuggers', target_cpu, debug_file)
29 if not os.path.exists(full_path):
30 return
31
32 target_path = os.path.join(target_dir, debug_file)
33 vs_toolchain._CopyRuntimeImpl(target_path, full_path, verbose=False)
34
35 # Ninja expects the file's timestamp to be newer than this script.
36 os.utime(target_path, None)
37
38CopyDebuggerFile('dbgeng.dll')

Callers 1

copy-prereqs.pyFile · 0.85

Calls 2

joinMethod · 0.45
existsMethod · 0.45

Tested by

no test coverage detected