Closed MadangLightHouse closed 1 year ago
I have not found a way to hook into OutputDebugString() on windows 10, like it was possible on windows XP. So that means debugviewpp cannot currently prevent Visual Studio from 'stealing' its messages.
You can use this SendMessage trick to send message to debugview++ directly. https://github.com/CobaltFusion/DebugViewPP/blob/master/DbgMsgSrc/DbgMsgSrc.cpp#L231
About building, there are known issues with 'newer' vs2019 version. maybe this applies to your situation https://github.com/CobaltFusion/DebugViewPP#vs2019
Thank you so much Jan. I will have a look at your suggestions tomorrow and over the weekend.
Cheers,
Tony
Get Outlook for Androidhttps://aka.ms/ghei36
From: Jan Wilmans @.> Sent: Thursday, July 8, 2021 6:50:45 PM To: CobaltFusion/DebugViewPP @.> Cc: Madanglighthouse @.>; Author @.> Subject: Re: [CobaltFusion/DebugViewPP] I need DebugView++ to trap ::OutputDebugString() while the Visual Studio Debugger is also running (#373)
I have not found a way to hook into OutputDebugString() on windows 10, like it was possible on windows XP. So that means debugviewpp cannot currently prevent Visual Studio from 'stealing' its messages.
You can use this SendMessage trick to send message to debugview++ directly. https://github.com/CobaltFusion/DebugViewPP/blob/master/DbgMsgSrc/DbgMsgSrc.cpp#L231https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCobaltFusion%2FDebugViewPP%2Fblob%2Fmaster%2FDbgMsgSrc%2FDbgMsgSrc.cpp%23L231&data=04%7C01%7C%7Cd6bdd97318d94216128808d941ed7a5d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637613310481448543%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Rl%2Ftrho1bo%2FfC5FgWysE9rkYmNfa12uFa%2B8csM50m8E%3D&reserved=0
About building, there are known issues with 'newer' vs2019 version. maybe this applies to your situation https://github.com/CobaltFusion/DebugViewPP#vs2019https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCobaltFusion%2FDebugViewPP%23vs2019&data=04%7C01%7C%7Cd6bdd97318d94216128808d941ed7a5d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637613310481448543%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=cUUwEf2NYYlvHZP0zAZ1A7prVPqK669U%2B1u1Ou0diWI%3D&reserved=0
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCobaltFusion%2FDebugViewPP%2Fissues%2F373%23issuecomment-876257391&data=04%7C01%7C%7Cd6bdd97318d94216128808d941ed7a5d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637613310481458502%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=MBhrs1sYpYlBQYmUxUDXHL1o%2B1PTKwER93PHxshHn3E%3D&reserved=0, or unsubscribehttps://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADMFM7HHXCLPA36F66A52UTTWVRGLANCNFSM473UYPTA&data=04%7C01%7C%7Cd6bdd97318d94216128808d941ed7a5d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637613310481458502%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=eZnU8Rdwk3Dgu8MbvkiH5oKaqOAS3HVb7Fd%2Byq%2B%2BqSI%3D&reserved=0.
There is now also a vs2022 companion extension available.
Hi,
I need DebugView++ to trap ::OutputDebugString() while the Visual Studio Debugger is also running. As an alternative, is it possible to send it a windows message to display the formatted output string in the DebugView++ application window?
I tried downloading the source and building the solution on my machine (Windows 10, Visual Studio 2019 Professional) but the build failed. How do I build the solution?
Cheers,
M