Mouse Up Events won't fire on Cubase 7 in Debug Builds

Hi,

we are experiencing a strange issue with debug builds on Cubase 7. Nearly every mouse up event gets missing. For example you click on a button an the button is pressed all the time and the mouse up will only fire if you use alt-tab to switch the windows.

This only happens in Cubase on Windows 7. Not in the VST Host.

Anyone got any advice to track this error down?

 

Thanks

 

PS: We are using JUCE 2.0.40