breakpoint_magick:获取VS代码断点 源码

上传:tear33776 浏览: 10 推荐: 0 文件:ZIP 大小:2.5KB 上传时间:2021-04-19 16:41:52 版权申诉
断点魔术 获取带有VS Code断点的列表。 这可以帮助您将断点从VS Code转换为外部调试器接受的格式。 在VS Code中设置断点的优点是它们是动态的,因此在删除或插入行时它们会随代码一起上下移动。 例子 # Import things from breakpoint_magick import GetVSCodeBreakpoints # Get a list with VS Code breakpoints break_point_list = GetVSCodeBreakpoints () # Example of processing to new format print ( "# Breakpoints" ) for brk in break_point_list : file_name = brk . file . replace ( '"' , ' \\
上传资源
用户评论