P
P
Pavel K2016-12-29 01:48:53
Qt
Pavel K, 2016-12-29 01:48:53

What about debugging Qt internals?

Greetings!
I really want to understand with the debugger step by step what happens in the internals of Qt when passing a value from c ++ to qml - what calls are made, what parameters, etc.
What for? I'm trying to teach Qt new tricks, and he step left, step back - execution (segfault).
I see what is called in the headers, but what is not inside the functions - only asm.
To be specific, at the moment it is interesting how QVariant works (how and where it fills the private data structure with enumeration of types) and how the transfer of values ​​from qvariant to qml works, I have already figured out the meta-system.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
res2001, 2016-12-29
@PavelK

Откомпилируйте себе версию с отладочной информацией и наслаждайтесь полноценной отладкой.

R
Rou1997, 2016-12-29
@Rou1997

И в чем вопрос, есть исходный код открытый, можно отлаживать с исходным кодом, можно без исходного (ассемблер), можно применить декомпиляцию. например IDA Pro с плагином Hex-Rays.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question