smourier / TraceSpy

TraceSpy is a pure .NET, 100% free and open source, alternative to the very popular SysInternals DebugView tool.
MIT License
120 stars 18 forks source link

Contribution: Office 32- and 64-bit VBA compatibility for ETW #8

Closed SystemsModelling closed 3 years ago

SystemsModelling commented 3 years ago

ETW 26us in VBA is three times the speed of OutputDebugString 77us. And it correctly displays Unicode strings like Cyrillic. I'd like to contribute a module ETWModule3264.bas that handles both current versions of VBA. This has been tested in 32-bit Excel 365 and 64-bit Excel 365 on Windows 10. I work only in Excel, but it should apply to other Office products too. ETWModule3264.bas.txt

smourier commented 3 years ago

Thanks! I've added it to the vba directory.

SystemsModelling commented 3 years ago

Thanks Simon. It would be nice to have File>Save, it's a bit slow to copy & paste 2M lines into Notepad++ :)

Edit: I can do it by Copy from Tracespy then in Powershell do Get-Clipboard > tracelog.txt