Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could you provide an option to forward all output to the 'OutputDebugString' API ? #77

Open
janwilmans opened this issue Aug 17, 2018 · 5 comments

Comments

@janwilmans
Copy link

janwilmans commented Aug 17, 2018

I'm the author of debugview++, a problem I experience is that if I debug a program with visual studio the application sends to the OutputDebugString API is redirected/caught by the visual studio output window.

I provide an vs extension to send everything that is written to the output window to the OutputDebugString API, however, its a very limited extension, I wondered if you could just add this functionality in VSColorOutput

@mike-ward
Copy link
Owner

Do you have the source for your extension?

@janwilmans
Copy link
Author

janwilmans commented Aug 18, 2018 via email

@janwilmans
Copy link
Author

janwilmans commented Aug 28, 2018

basically all it does is:
https://github.com/CobaltFusion/DebugViewPP/blob/master/OutputForwarderVSIX/Forwarder.cs#L71

take all the changes from GUID_BuildOutputWindowPane or GUID_OutWindowDebugPane
and write them to Trace.Write("")

It would be nice to be able to choose either or both:

[Settings]
Forward output to Trace.Write:
[x] Build Output (GUID_BuildOutputWindowPane )
[x] Debug Output (GUID_OutWindowDebugPane )

@mike-ward
Copy link
Owner

So if I understand, this is so you can see the output in other programs attached to the debugging session?

@janwilmans
Copy link
Author

janwilmans commented Aug 28, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants