-
公开(公告)号:US09009679B2
公开(公告)日:2015-04-14
申请号:US13536643
申请日:2012-06-28
申请人: Cary L. Bates , Kendrick Wong
发明人: Cary L. Bates , Kendrick Wong
CPC分类号: G06F11/3624
摘要: Embodiments of the invention include a method for setting snapshots in code. The method may occur during the debug of code and may include determining whether to place a snapshot instruction immediately before a machine instruction within a module. The determination may include analyzing parameters associated with the machine instruction.
摘要翻译: 本发明的实施例包括用于设置代码中的快照的方法。 该方法可以在代码调试期间发生,并且可以包括确定是否在模块内的机器指令之前立即放置快照指令。 该确定可以包括分析与机器指令相关联的参数。
-
公开(公告)号:US20140007058A1
公开(公告)日:2014-01-02
申请号:US13536643
申请日:2012-06-28
申请人: Cary L. Bates , Kendrick Wong
发明人: Cary L. Bates , Kendrick Wong
IPC分类号: G06F11/36
CPC分类号: G06F11/3624
摘要: Embodiments of the invention include a method for setting snapshots in code. The method may occur during the debug of code and may include determining whether to place a snapshot instruction immediately before a machine instruction within a module. The determination may include analyzing parameters associated with the machine instruction.
摘要翻译: 本发明的实施例包括用于设置代码中的快照的方法。 该方法可以在代码调试期间发生,并且可以包括确定是否在模块内的机器指令之前立即放置快照指令。 该确定可以包括分析与机器指令相关联的参数。
-
公开(公告)号:US20130152054A1
公开(公告)日:2013-06-13
申请号:US13324774
申请日:2011-12-13
申请人: Cary L. Bates , Kendrick Wong
发明人: Cary L. Bates , Kendrick Wong
CPC分类号: G06F11/3628 , G06F11/3636
摘要: A method, computer-readable storage medium, and computer system are provided. In an embodiment, in response to a command that requests setting a breakpoint at a line in a module, a determination is made whether a snapshot instruction exists before a machine instruction that implements a source statement at the line. If the snapshot instruction exists before the machine instruction that implements the source statement at the line, the breakpoint is set at the machine instruction that implements the source statement at the line. If the snapshot instruction does not exist before the machine instruction that implements the source statement at the line, the module is recompiled to add the snapshot instruction before the machine instruction that implements the source statement.
摘要翻译: 提供了一种方法,计算机可读存储介质和计算机系统。 在一个实施例中,响应于请求在模块中的一行设置断点的命令,确定在执行在该行的源语句的机器指令之前是否存在快照指令。 如果在执行源语句的机器指令之前存在快照指令,那么断点将被设置在实现源语句的机器指令中。 如果快照指令在实现源语句的机器指令之前不存在,则该模块将重新编译,以在实现源语句的机器指令之前添加快照指令。
-
公开(公告)号:US07404179B2
公开(公告)日:2008-07-22
申请号:US10942420
申请日:2004-09-16
申请人: Kendrick Wong
发明人: Kendrick Wong
IPC分类号: G06F9/44
CPC分类号: G06F11/3624
摘要: A mechanism is provided in a debugger for building a file information database while significantly reducing debug startup time. For each line number table, the mechanism of the present invention reads the header section and determines all the source files that contribute to the line number table. The mechanism also makes note of the line number table offset. The mechanism then inserts the source filename into the file information database. In one preferred embodiment, the file information database is implemented as a hash table. Searching time occurs during an interactive debug session; therefore, the searching time is not easily detectable to a user, thus creating the perception of a faster interactive debugging session.
摘要翻译: 在调试器中提供了一种用于构建文件信息数据库的机制,同时显着减少了调试启动时间。 对于每个行号表,本发明的机制读取报头部分并确定对行号表有贡献的所有源文件。 该机制还记录了行号表偏移量。 然后,机制将源文件名插入到文件信息数据库中。 在一个优选实施例中,文件信息数据库被实现为哈希表。 搜索时间发生在交互式调试会话期间; 因此,用户不容易检测到搜索时间,从而创造出更快的交互式调试会话的感觉。
-
公开(公告)号:US08943480B2
公开(公告)日:2015-01-27
申请号:US13324774
申请日:2011-12-13
申请人: Cary L. Bates , Kendrick Wong
发明人: Cary L. Bates , Kendrick Wong
IPC分类号: G06F9/44
CPC分类号: G06F11/3628 , G06F11/3636
摘要: A method, computer-readable storage medium, and computer system are provided. In an embodiment, in response to a command that requests setting a breakpoint at a line in a module, a determination is made whether a snapshot instruction exists before a machine instruction that implements a source statement at the line. If the snapshot instruction exists before the machine instruction that implements the source statement at the line, the breakpoint is set at the machine instruction that implements the source statement at the line. If the snapshot instruction does not exist before the machine instruction that implements the source statement at the line, the module is recompiled to add the snapshot instruction before the machine instruction that implements the source statement.
摘要翻译: 提供了一种方法,计算机可读存储介质和计算机系统。 在一个实施例中,响应于请求在模块中的一行设置断点的命令,确定在执行在该行的源语句的机器指令之前是否存在快照指令。 如果在执行源语句的机器指令之前存在快照指令,那么断点将被设置在实现源语句的机器指令中。 如果快照指令在实现源语句的机器指令之前不存在,则该模块将重新编译,以在实现源语句的机器指令之前添加快照指令。
-
公开(公告)号:US20130263094A1
公开(公告)日:2013-10-03
申请号:US13434137
申请日:2012-03-29
申请人: Cary L. Bates , Kendrick Wong
发明人: Cary L. Bates , Kendrick Wong
IPC分类号: G06F9/44
CPC分类号: G06F11/3636
摘要: A method, computer-readable storage medium, and computer system are provided. In an embodiment, a command is received that specifies a debug compile option and requests a compile of a module into object code. If the debug compile option specifies a first debug compile option, snapshot instructions are inserted immediately prior to each machine instruction in the object code at which a breakpoint was previously set. If the debug compile option specifies the first debug compile option, snapshot instructions are inserted immediately prior to each machine instruction in the object code that implements a control flow statement.
摘要翻译: 提供了一种方法,计算机可读存储介质和计算机系统。 在一个实施例中,接收指定调试编译选项并请求将模块编译成目标代码的命令。 如果调试编译选项指定了第一个调试编译选项,则会在先前设置断点的目标代码中的每个机器指令之前立即插入快照指令。 如果调试编译选项指定了第一个调试编译选项,则在实现控制流程语句的目标代码中的每个机器指令之前立即插入快照指令。
-
公开(公告)号:US20060059467A1
公开(公告)日:2006-03-16
申请号:US10942420
申请日:2004-09-16
申请人: Kendrick Wong
发明人: Kendrick Wong
IPC分类号: G06F9/44
CPC分类号: G06F11/3624
摘要: A mechanism is provided in a debugger for building a file information database while significantly reducing debug startup time. For each line number table, the mechanism of the present invention reads the header section and determines all the source files that contribute to the line number table. The mechanism also makes note of the line number table offset. The mechanism then inserts the source filename into the file information database. In one preferred embodiment, the file information database is implemented as a hash table. Searching time occurs during an interactive debug session; therefore, the searching time is not easily detectable to a user, thus creating the perception of a faster interactive debugging session.
摘要翻译: 在调试器中提供了一种用于构建文件信息数据库的机制,同时显着减少了调试启动时间。 对于每个行号表,本发明的机制读取报头部分并确定对行号表有贡献的所有源文件。 该机制还记录了行号表偏移量。 然后,机制将源文件名插入到文件信息数据库中。 在一个优选实施例中,文件信息数据库被实现为哈希表。 搜索时间发生在交互式调试会话期间; 因此,用户不容易检测到搜索时间,从而创造出更快的交互式调试会话的感觉。
-
公开(公告)号:US08990781B2
公开(公告)日:2015-03-24
申请号:US13487779
申请日:2012-06-04
申请人: Alan S. Boxall , Roger E. Pett , Kendrick Wong
发明人: Alan S. Boxall , Roger E. Pett , Kendrick Wong
IPC分类号: G06F9/44
CPC分类号: G06F11/3628 , G06F11/3632
摘要: Visualization of synchronization points in modified program source code includes identifying the synchronization points in a program source code segment. The identification is performed in response to a modification of the program source code segment. The visualization of the synchronization points also includes storing line numbers of the synchronization points and line contents corresponding to text located at stored line numbers in the program source code segment. The visualization of the synchronization points further includes implementing, as part of a debugging session: retrieving the synchronization points and the line contents, displaying the line contents of the synchronization points on a display screen, and providing a user with an option to step through the synchronization points in the program source code while skipping the remaining portions of the program source code segment. Displaying the line contents includes visually differentiating the synchronization points from remaining portions of the program source code segment.
-
公开(公告)号:US20130326484A1
公开(公告)日:2013-12-05
申请号:US13487779
申请日:2012-06-04
申请人: Alan Boxall , Roger E. Pett , Kendrick Wong
发明人: Alan Boxall , Roger E. Pett , Kendrick Wong
IPC分类号: G06F9/44
CPC分类号: G06F11/3628 , G06F11/3632
摘要: Visualization of synchronization points in modified program source code includes identifying the synchronization points in a program source code segment. The identification is performed in response to a modification of the program source code segment. The visualization of the synchronization points also includes storing line numbers of the synchronization points and line contents corresponding to text located at stored line numbers in the program source code segment. The visualization of the synchronization points further includes implementing, as part of a debugging session: retrieving the synchronization points and the line contents, displaying the line contents of the synchronization points on a display screen, and providing a user with an option to step through the synchronization points in the program source code while skipping the remaining portions of the program source code segment. Displaying the line contents includes visually differentiating the synchronization points from remaining portions of the program source code segment.
-
公开(公告)号:US20080228763A1
公开(公告)日:2008-09-18
申请号:US12131289
申请日:2008-06-02
申请人: Kendrick Wong
发明人: Kendrick Wong
CPC分类号: G06F11/3624
摘要: A mechanism is provided in a debugger for building a file information database while significantly reducing debug startup time. For each line number table, the mechanism of the present invention reads the header section and determines all the source files that contribute to the line number table. The mechanism also makes note of the line number table offset. The mechanism then inserts the source filename into the file information database. In one preferred embodiment, the file information database is implemented as a hash table. Searching time occurs during an interactive debug session; therefore, the searching time is not easily detectable to a user, thus creating the perception of a faster interactive debugging session.
摘要翻译: 在调试器中提供了一种用于构建文件信息数据库的机制,同时显着减少了调试启动时间。 对于每个行号表,本发明的机制读取报头部分并确定对行号表有贡献的所有源文件。 该机制还记录了行号表偏移量。 然后,机制将源文件名插入到文件信息数据库中。 在一个优选实施例中,文件信息数据库被实现为哈希表。 搜索时间发生在交互式调试会话期间; 因此,用户不容易检测到搜索时间,从而创造出更快的交互式调试会话的感觉。
-
-
-
-
-
-
-
-
-