envdte - How to get a programmable interface to the Visual Studio Call Stack window? -


i working on visual studio add-in (part of ilspy open source project) , want information selected stack frame in visual studio call stack window.

i tried this:

var callstackwindow = ((envdte80.dte2)getglobalservice(typeof(envdte.dte))).toolwindows.gettoolwindow("call stack"); 

however throws exception when not debugging (and call stack window not present) , returns null when call stack window present.

there vswindowtypecallstack member in vswindowtype enumeration, can't find api uses it. i've searched envdte documentation without finding further information.

i'm working in c# visual studio 2013 professional.


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -