Results 1 to 2 of 2

Thread: How to Debug a windows COM DLL

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2012
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default How to Debug a windows COM DLL

    All,
    I have a COM ATL C++ dll and I need to debug the dll using an exe. I used "Start and Debug and external Application" option. After starting the debugging session, the break point is not hiiting. The version of QT I am using is 4.7(QT Creator). Please help.

    Regards
    HP

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: How to Debug a windows COM DLL

    Perhaps you haven't built a debug version of the DLL, or built a version with optimisation.
    Perhaps the code is never reached.
    Perhaps you are looking at the wrong thread.
    Perhaps you need to set the breakpoints after the program is loaded.

    BTW: What does this have to do with Qt?

Similar Threads

  1. Replies: 8
    Last Post: 26th March 2011, 12:11
  2. how to debug qtwebkit in windows?
    By fancyerii in forum Installation and Deployment
    Replies: 0
    Last Post: 26th November 2010, 05:19
  3. How to debug code on Windows Ce 5.0 device?
    By hakanaktan in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 12th August 2010, 13:08
  4. Qt 4.3.4 Windows Eclipse DEBUG
    By starcontrol in forum Installation and Deployment
    Replies: 1
    Last Post: 2nd May 2008, 14:54
  5. Qt 4.2.2 Cleanlooks debug vs. release (Windows XP)
    By Byngl in forum Qt Programming
    Replies: 6
    Last Post: 25th January 2007, 12:56

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.