Devart.Data.Oracle "PInvokeStackImbalance" error in debug mode

Devart.Data.Oracle "PInvokeStackImbalance" error in debug mode

I created the following small C# program and keep getting the error message shown in the screenshot. I'm using Visual Studio 2019. The program is compiled as 32-bit.

The Oracle client = NT_193000_client. I've also tried oracle client 11.2.0 but the same error.

The Devart.Oracle component = 10.3.10.0. Why do I get this error when debugging? Everything works fine in debug mode in DirectMode.