jrfonseca / drmingw

Postmortem debugging tools for MinGW.
GNU Lesser General Public License v2.1
273 stars 53 forks source link

Unable to set as Default Debugger #2

Closed bharath144 closed 9 years ago

bharath144 commented 9 years ago

(I hope this is the right location to post an issue I am facing. If not then please redirect me to the correct location. Thanks!)

Hi there,

I downloaded the 0.6.3 version of DrMingw. I ran 'drmingw.exe -a -i' to install it as the default JIT debugger as suggested in the 'Usage Instructions' page.

I then compiled the sample provided. I ran the sample.exe to see the crash.

image

When I selected 'Debug the program' I was asked to choose the debugger, I was shown this dialog

image

Then when I selected 'Debug with default debugger', I was asked to select The Visual Studio JIT debugger.

image

Now, does this mean the DrMingw debugger isn't isntalled? Am I missing something here?

Cheers! Bharath

bharath144 commented 9 years ago

I checked the registry and the debugger has been set correctly at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug.

Auto = 1 Debugger = C:\Users\Administrator\Downloads\Utilities\drmingw-0.6.3-win64\drmingw-0.6.3-win64\bin\drmingw.exe -p %ld -e %ld

jrfonseca commented 9 years ago

You installed the 64-bits version of DrMingw. But you most likely built and tested 32-bits executable.

You need to install the 32-bits of DrMingw as well, as the 64-bits version of DrMingw does not support 32-bits binaries yet. (It's not impossible, and in fact I already started, but it has some bugs. and I didn't have the time to figure them out yet.)

bharath144 commented 9 years ago

Ah yes. I got it working now. Thanks for the help.