Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25174

Does not hit a break point

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 4.14.0
    • Debugger
    • None
    • Visual C++ 2017
    • Windows

    Description

      Let's suppose we have a class Foo in some static library.

      Let's suppose there are 2 projects: main_bin and helper_lib.

      Main_bin is the main binary and helper_lib is a shared library which is used by main_bin project.

      Let's suppose both project uses this Foo class (and thus links with that static library).

      If I set a break point inside of Foo's methods, it works if Foo is instantiated inside of main_bin project and does not work (i.e. debugger does not stop on it) in case Foo object is instantiated inside of helper_lib project.

      If it matters, in my case Foo is derived from QObject (yeah, I know that this is not a very good way to implement QObject derived classes inside of static libs).

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            alervd Alexander Dyagilev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes