-
公开(公告)号:US20210173760A1
公开(公告)日:2021-06-10
申请号:US16704925
申请日:2019-12-05
Applicant: Microsoft Technology Licensing, LLC
Inventor: Mark Anthony Jelf DOWNIE , Jackson DAVIS , Thomas LAI , Andrew Richard STERLAND , Wai Hang ("Barry") TANG , Nikolaus KARPINSKY
Abstract: Embodiments improve software defect diagnosis. Analytic focus is automatically walked back from an initial symptomatic diagnostic context to a previous diagnostic context that is closer to underlying causes. Diagnosis may obtain diagnostic artifacts such as traces or dumps, extract diagnostic context, decompile executables, lookup likely causes based on symptoms, scan logs, and submit diagnostic context to software analysis services. An analysis service may perform static analysis, security testing, symptom-pair lookups, or antipattern scanning, for example, and may include a neural network or other machine learning model, for example. Root causes are culled from analysis results and identified to a software developer. Changes to mitigate the defect's impact are suggested in some cases. Thus, the software developer receives debugging leads without manually navigating through all the tool interfaces or unrelated details of diagnostic contexts. This allows the developer to more efficiently reach a useful diagnosis of defects, even for unfamiliar issues.
-
公开(公告)号:US20230141807A1
公开(公告)日:2023-05-11
申请号:US17520694
申请日:2021-11-07
Applicant: Microsoft Technology Licensing, LLC
Inventor: Peter GROENEWEGEN , Arjun RADHAKRISHNA , Gustavo ARAUJO SOARES , Mark Alistair WILSON-THOMAS , Piyush ARORA , Aaron Chak Hei YIM , David Ellis PUGH , German David OBANDO CHACON , Andrew Richard STERLAND , Gregory MISKELLY
Abstract: Embodiments automate surfacing of underutilized development tool features, thereby enhancing the discoverability of subtools, commands, shortcuts, settings, visualizers, and other tool features. After spotting an inefficiency in the user’s interaction with one or more tools, the feature surfacing functionality offers the user an interaction optimization suggestion. A mapping structure correlates detected interaction patterns with objectively better interaction optimizations. Several examples of mappings are discussed. The user can accept a suggestion, have the suggested optimization applied by an enhanced tool, and thereby reduce the number of user gestures utilized to accomplish a desired result, reduce the number of tools utilized, increase security, reduce risk of error, or get to the desired result faster, for example. Interaction optimizations also help the user stay focused, by reducing or avoiding departures from the user’s current primary workflow. Other aspects of tool feature surfacing functionality are also described herein.
-
公开(公告)号:US20210149788A1
公开(公告)日:2021-05-20
申请号:US16687444
申请日:2019-11-18
Applicant: Microsoft Technology Licensing, LLC
Inventor: Mark Anthony Jelf DOWNIE , Jackson DAVIS , Thomas LAI , Andrew Richard STERLAND , Wai Hang ("Barry") TANG , Nikolaus KARPINSKY
Abstract: Embodiments provide improved diagnosis of software defects. Static analysis services and other source-based diagnostic tools and techniques are applied even when the source code underlying software is unavailable. Diagnosis obtains diagnostic artifacts, extracts diagnostic context from the artifacts, decompiles to get source, and submits decompiled source to a source-based software analysis service. The analysis service may be a static analysis tool, an antipattern scanner, or a machine learning model trained on source code, for example. The diagnostic context may also guide the analysis, e.g., by localizing decompilation or prioritizing possible causes. Likely causes are culled from analysis results and identified to a software developer. Changes to mitigate the defect's impact are suggested. Thus, the software developer receives debugging leads without providing source code for the defective program, and without manually navigating through a decompiler and through the analysis services.
-
-