c# - allowing to insert breakpoint in visual studio editor extension -


add syntax highlighting ielisonbuffer

i follow question , implement visual studio editor extension. got working fine: syntax highlight, completion...but cannot add breakpoint thought options there in right context menu (disabled)

is there else need enable feature editor?

well, breakpoint anything, you'll need implement debugger (via ad7 interfaces, etc.).

but actual breakpoint toggling working, need implement ivslanguagedebuginfo interface (and optionally ivslanguagedebuginfo2 , ivslanguagedebuginfo3 more control). (i suggest on language info object that's implementing ivslanguageinfo.) don't forget register implementation vs knows it.

validatebreakpointlocation() called when user presses f9, etc., , in should set breakpoint span appropriate bounds of line (or portion of line depending on language, e.g. might in lambda or want highlight statement except trailing comments on line), return vsconstants.s_ok.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -