Search code examples
oceanpetrel

Is there a way to debug with Petrel 2012.1 64-bit?


When starting the debugger, Visual Studio just hangs for about 20 seconds, then terminates the debugging session, without any warning.

The 32-bit version works fine, but is no good if our plugin uses 64-bit native code from a third party.

As a developer, I'm sticking with Petrel 2012.1 on my workstation for the time being - might the issue be fixed in a later release?


Solution

  • It's not a bug but a feature – the license protection mechanism. But you can attach your debugger to Petrel 2012.1 64 bit when Petrel's UI is visible, the initial steps only are protected from debugging.