Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.3.0, Qt Creator 4.4.0-beta1
-
None
-
372576e2f6cb4323fc4ed6a3ae3c9f763de1198e
Description
Trying to debug a process by selecting 'Debug' in the Windows Process Manager just brings up a dialog
--------------------------- Qt Creator Debugger --------------------------- <html><body><b>Unexpected option: p</b><pre>Usage: qtcdebugger[-wow] [-help|-?|qtcreator|default|register|unregister] <process-id> <event-id> Options: -help, -? Display this help -qtcreator Launch Qt Creator without prompting -default Launch Default handler without prompting -register Register as post mortem debugger (requires administrative privileges) -unregister Unregister as post mortem debugger (requires administrative privileges) -wow Indicates Wow32 call -nogui Do not show error messages in popup windows </pre><p>To install, modify the registry key <i>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AeDebug</i>:</p><ul><li>Create a copy of the string value <i>Debugger</i> as <i>Debugger.Default</i><li>Change the value of <i>Debugger</i> to <pre>"C:\Qt-test\Tools\QtCreator\bin\qtcdebugger.exe" %ld %ld</pre></ul><p>On 64-bit systems, do the same for the key <i>HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug</i>, setting the new value to <pre>"C:\Qt-test\Tools\QtCreator\bin\qtcdebugger.exe" -wow %ld %ld</pre></p><p>How to run a command with administrative privileges:</p><pre>runas /env /noprofile /user:Administrator "command arguments"</pre></body></html> --------------------------- OK ---------------------------
It seems that , despite the registry entries under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug
, the debugger is always called with -p argument. Maybe qtcdebugger should just accept the argument?