Originally Posted by
vql
I tried break on SbBox2f::setBound(const SbVec2f&, const SbVec2f&) but it not effect.
Do you use that method in your app? If not (which means that it is used internally), do you have a debug version of libraries you use compiled? You have to compile in debug mode and link with debug libraries to have access to all symbols from within the debugger.
I tried on QString::QString(QChar), it have effect.
But I tried on QString::QString(const QString&), it don't have effect.
Can you answer this question, wysota??? Please try on your computer before anwer. Thanks.
As I already said, you don't have access to QString::QString(const QString&) because you don't use it in your application.
Try debugging this one:
#include <QString>
int main(){
QString y
(x
);
// here the copy constructor is used return 0;
}
#include <QString>
int main(){
QString x ="xxx";
QString y(x); // here the copy constructor is used
return 0;
}
To copy to clipboard, switch view to plain text mode
You'll notice that QString::QString(const QString &) will be among symbols available (remember to compile your app in debug mode). If you don't have a debug version of Qt compiled (and linked to the application), you'll only receive symbols defined for your executable and used by it.
(gdb) break QString<tab>
(gdb) break QString<tab>
QString QString::QString(char const*)
QString::QString(QString const&) QString::~QString()
To copy to clipboard, switch view to plain text mode
Bookmarks