Using edit and continue to dynamically set and unset optimizations in source code while debugging
Abstract
A software development system is described that enables a user that is debugging source code to select for unoptimizing a function within the source code and to cause an edit and continue operation to be performed that produces a compiled version of the source code in which the selected function is unoptimized, while other functions remain optimized. Embodiments also enable a user to select a previously unoptimized function within the source code for re-optimizing and to cause an edit and continue operation to be performed that produces a compiled version of the source code in which the function is re-optimized. Still further embodiments enable a user to select within source code that is being developed a function for which optimization should be prevented and to cause a compiled representation of the source code to be built in which the selected function is unoptimized, while other functions are optimized.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 21 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method performed by a software development system during a debugging session in which source code is being debugged, comprising: for each of a plurality of functions included in the source code: determining that a user interacted with a representation of the function in a graphical user interface (GUI) of the software development system; in response to at least determining that the user interacted with the representation of the function, providing a first interactive control as a selectable option within the GUI of the software development system that the user can activate to unoptimize the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 11,972,240 B2 | Systems and methods for automapping source code to machine code | 2024 | 0 |
References Cited — Backward Prior Art (21)
Non-Patent Literature (5)
- "/Z7, /Zi, /Zl (Debug Information Format)", Published on: Sep. 19, 2008 Available at: https://msdn.microsoft.com/en-us/library/958x11bc.aspx.
- "/Zo (Enhance Optimized Debugging)", Published on: Dec. 2, 2014 Available at: https://msdn.microsoft.com/en-us/library/dn785163.aspx
- "How to: Debug Optimized Code", Retrieved on: Jul. 4, 2016 Available at: https://msdn.microsoft.com/en-us/library/606cbtzs.aspx.
- Chen, et al., "A compiler option that helps debug optimized code", Available at: Jul. 10, 2012 Available at: http://www.ibm.com/developerworks/rational/library/debug-optimized-code-compiler-option/debug-optimized-code-compiler-option-pdf.pdf.
- Hozle, et al., "Debugging Optimized Code with Dynamic Deoptimization", In Proceedings of the ACM SIGPLAN conference on Programming language design and implementation, Jul. 1, 1992, pp. 32-43.