Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Self-Sovled]DLL can not be debugged

[Self-Sovled]DLL can not be debugged

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pmjz
    wrote on last edited by
    #1

    Hi Guys,

    I create a simple app,and use several dlls which are created in debug mode, I can set and stop breakpoints before functions from dlls, and then I enter F10 or step over. app can not stop at any functions from dlls. please help me out. thanks.

    @
    int main(int argc, char *argv[])
    {
    // app can stop at the any below two lines
    qDebug() << "START:";
    QScopedPointer<WellBO>bo(new WellBO());

    /****************************************
    the below is from dlls and can not stop at breakpoints 
    ****************************************/
    //generate WellBO
    bo->setUwi("test");
    bo->setCurrentStatus("REF00001");
    IUnits *svc = ServiceLocator::getServiceInterface<IUnits>(Units::impl);
    DecimalOUOM d1  =  DecimalOUOM::getDecimalOUOM(QVariant(8.0),QString("m"),svc->getMapping(Common::Distance));
    bo->setKbElevValue(d1.toVariant());
    return 0;
    

    }
    @

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tucnak
      wrote on last edited by
      #2

      Just make Debug build. Your build may be Release build.

      1 Reply Last reply
      0
      • P Offline
        P Offline
        pmjz
        wrote on last edited by
        #3

        thanks a lot for your post , the problem has been fixed after I add corresponding header files.

        [quote author="tucnak" date="1339585795"]Just make Debug build. Your build may be Release build.[/quote]

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved