New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging QT in a static build #2194

Closed
TripleEmcoder opened this Issue Feb 5, 2015 · 7 comments

Comments

Projects
None yet
3 participants
@TripleEmcoder

TripleEmcoder commented Feb 5, 2015

I have compiled wkhtmltopdf with scripts\build.py msvc2013-win64 -clean -debug and I am able to nicely step through wkhtmltopdf.cc and other project source files, but whenever I reach anything in QT, like trying to step into QWebPage from multipageloader.cc the debugger just steps over. Is it possible to build the static version of wkhtmltopdf with QT debug-enabled?

We are facing a serious, seemengly random bug that only repros in our environment, so debugging is probably the only option of solving this.

@TripleEmcoder TripleEmcoder changed the title from Debugging QWebPage to Debugging QT in a static build Feb 5, 2015

@ashkulz

This comment has been minimized.

Member

ashkulz commented Feb 5, 2015

Can you check if you can debug 0.12.1 as I am pretty sure it worked earlier? Will only be able to check over the weekend.

@TripleEmcoder

This comment has been minimized.

TripleEmcoder commented Feb 9, 2015

I did a clean debug build of 0.12.1 and unfortunately it behaves the way I described.

@perorumov

This comment has been minimized.

perorumov commented Jun 6, 2015

Any update on this ?

@ashkulz

This comment has been minimized.

Member

ashkulz commented Jun 6, 2015

@perorumov: does it not work for you?

@perorumov

This comment has been minimized.

perorumov commented Jun 6, 2015

No. It is same situation as TripleEmcoder described. Maybe -webkit-debug is missing.

@ashkulz ashkulz closed this in a70f5bd Jun 7, 2015

@ashkulz

This comment has been minimized.

Member

ashkulz commented Jun 7, 2015

This was due to a bug in Qt, which I will try to upstream although it is unlikely to be merged as Qt 4.8.7 is the last release in the 4.8.x series.

@ashkulz ashkulz added this to the 0.12.3 milestone Jun 7, 2015

@ashkulz ashkulz added the Fixed label Jun 7, 2015

@ashkulz

This comment has been minimized.

Member

ashkulz commented Jun 7, 2015

@TripleEmcoder: sorry about getting to this so late, it slipped off my radar. Were you able to diagnose your random bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment