[Self-Sovled]DLL can not be debugged
General and Desktop
3
Posts
2
Posters
2.2k
Views
1
Watching
-
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;}
@