Hello Alex,

Wednesday, December 9, 2009, 12:42:27 AM, you wrote:
BA> I can't find anywhere if QtCreator has support for DebugBreak ()
BA> functionality available in Visual Studio.

Which functionality are you looking for exactly ?

DebugBreak() is a function exported by KERNEL32.DLL
( http://msdn.microsoft.com/en-us/library/ms679297(VS.85).aspx ) which does
nothing more than calling NTDLL's DbgBreakPoint(), which itself is as tiny as:

  public DbgBreakPoint
    DbgBreakPoint proc near
    int 3 ; Trap to Debugger
    retn
  DbgBreakPoint endp

So basically, calling DebugBreak() will throw a breakpoint exception in your
process, and this exception should be catched by the current debugger if any
(being VS, GDB or anything else).

--
Eric Landuyt, Developer - mailto:[email protected]
DataRescue sa/nv - http://www.datarescue.com

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to