Giter Club home page Giter Club logo

devutils's Introduction

DevUtils

This Visual Studio extension adds some convenience features I missed in particular for C++ development.

  • adds editor context menu items for inspecting the preprocessor and code generator output
  • taskbar progress visualization and total solution build time

In conjunction with an assembler syntax highlighting extension like AsmHighlighter this provides an easy way to optimize code or figure out preprocessor issues.

It strives to jump to the correct place in the generated output file if possible. This may not be correct if you are in a template function and want to see the assembly or the cursor is placed on a line using macros and preprocessed output is desired.

Download

https://visualstudiogallery.msdn.microsoft.com/62f485b0-b659-4852-8f39-885c20c9fcd1

Known issues

  • Doesn't work with headers.
  • It does undo the changes to the compile options afterwards but the project file will still have a new empty entry for that file added if you save it.

TODO

  • cleanup!

  • better methods for finding the correct spot in the generated file

  • prevent pollution of project file by finding a working undo mechanism

  • RunToCursor functionality with ignoring breakpoints

    Dim bptStates(DTE.Debugger.Breakpoints.Count - 1) As Boolean

    Dim i = 0 For Each bpt As Breakpoint In DTE.Debugger.Breakpoints bptStates(i) = bpt.Enabled i += 1 bpt.Enabled = False Next

    Try DTE.Debugger.RunToCursor(True) ' Catch ex As Exception Finally i = 0 For Each bpt As Breakpoint In DTE.Debugger.Breakpoints bpt.Enabled = bptStates(i) i += 1 Next End Try

    But for some reason the RunToCursor call doesn't work at all ("Operation not supported") and breakpoint states aren't properly reset either. Some are reactivated but not all. Any ideas?

devutils's People

Contributors

trass3r avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.