Rubberduck: Create replacement for Locals window

Created on 19 Mar 2015  路  14Comments  路  Source: rubberduck-vba/Rubberduck

The VBA Locals window appears to have a bug that prevents it from displaying property values of classes that implement an interface: StackOverflow: How to get property values of classes that implement an interface in the Locals window?

Unless a workaround is found for that issue it seems like the only option will be to replace it entirely.

enhancement help wanted status-declined user-interface

Most helpful comment

Hi all,

I realise this was closed a looong time ago, but I've been doing some research that you might be interested in! :)

I'm mainly researching this because I want to add String interpolation into a String class I'm building for an Open Source VBA library 馃檪

Happy coding! 馃槃

All 14 comments

The black magic wizards behind vbWatchDog would _maybe_ be able to do this. I'm not.

I'll contact Wayne at vbWatchDog and see if he has any interest.

@mwolfe02 what?! Awesome! And while you're at it, it would be beyond awesome if we could have a lead on how they managed to add that sidebar to the codepane window - I'd like to have that and show icons there, on the lines with code issues.. and if possible to make that icon clickable so we could have a little drop-down showing the quick-fix options... okay I'm pushing it. But a hint on the call stack magic would be wonderful :)

I just sent him a message on LinkedIn. I'm not sure how willing he'll be to part with the call stack secret sauce, but I told him he should check out the project either way. I'll let you know if I hear back from him.

I'm not expecting anything about the call stack sauce to be spilled into the Open-Source world - after all, it's their highlight and they're _selling_ their product. But thanks a lot for this @mwolfe02, it's unexpected and welcome help :)

I just got a response from Wayne Phillips with vbWatchdog. As one would expect, he's not real eager to give away the call stack code. I was a bit surprised/enlightened to learn that in addition to C++, implementing vbWatchdog involved actual assembly-level programming:

Hi Mike,

Thanks for your message. I will check it out when I get chance.

You're right, it's a tricky one. The callstack features of vbWatchdog are at the core/heart of the product, and so that information is very commercially sensitive given that it's a very unique feature.

If it were for a commercial product, then a licencing arrangement could be discussed, but for a free open source product that's just not going to be feasible.

Accessing the VBA callstack requires hardcore assembly and C++ programming, as well as significant knowledge of the VBA innards to make it all work. This challenge is certainly not something for the faint hearted, and I wish them luck...

Cheers

Wayne

Bwahahahaha this is sooooo not happening!

Thanks @mwolfe02!

Yeah, I feel even better about paying for my vbWatchdog license after reading his response. And, don't tell him I said this, but I think he's waaaaaay undercharging for his product.

Still, it's awesome that 1) you know someone there, 2) that someone answered, and 3) he'll take a look at our project!

I figured as much. Thanks for trying @mwolfe02.

Hi all,

I realise this was closed a looong time ago, but I've been doing some research that you might be interested in! :)

I'm mainly researching this because I want to add String interpolation into a String class I'm building for an Open Source VBA library 馃檪

Happy coding! 馃槃

@sancarn That certainly looks intriguing, and I'm looking forward to examining it in more depth.

How are your c# chops (hint, hint)?... 馃槃

@comintern Honestly, I've only ever worked with C# once to make a super basic app. Otherwise I'm a complete noob, mostly due to complete incompatibility with all IT systems I've worked with so far :P That being said, I am going to try to host CLR from VBA at some point to maybe get around that... 馃槢

Was this page helpful?
0 / 5 - 0 ratings