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

VS2017 can hang while debugging debugview++ #326

Open
janwilmans opened this issue Jul 9, 2018 · 2 comments
Open

VS2017 can hang while debugging debugview++ #326

janwilmans opened this issue Jul 9, 2018 · 2 comments

Comments

@janwilmans
Copy link
Member

janwilmans commented Jul 9, 2018

This happens because vs2017 is using the OutputDebugString API itself.
If you set a breakpoint in debugview++, it hits and vs2017 tries to send a OutputDebugString message, this whole thing deadlocks (which makes sense)

The only way to work around this, it to disable the 'capturing' in debugview++ (Log->Pause)
or not to use breakpoints.

references:
https://developercommunity.visualstudio.com/content/problem/40140/starting-up-visual-studio-is-pretty-noisy-on-the-o.html

https://developercommunity.visualstudio.com/content/problem/289651/ui-hangs-opening-menu-during-debugging-with-repro.html

@janwilmans
Copy link
Member Author

The issue is closed as far as the visual studio team is concerned, their view is that their is no reason why visual studio should not use the OutputDebugString API. To me this is odd, because for the debugging tools (visual studio) to be outputting debug-messages via the same channel as the application under test, seems confusion to me, however, there is noting I can do about it.

I will keep this issue open here, as its still an issue to me.

@janwilmans janwilmans changed the title VS2017 hangs while debugging debugview++ VS2017 can hang while debugging debugview++ Oct 17, 2018
@janwilmans
Copy link
Member Author

we could work around this by using dbgview-agent as a back-end, because in that scenario the process catching the outputdebugstring output is not under debug

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

1 participant