Qt 6.11 is out! See what's new in the release
blog
Could I observe the assembly by QtCreator?
General and Desktop
3
Posts
3
Posters
9.7k
Views
1
Watching
-
@
int main()
{
const int a = factorial(0);return 0;@
I would like to look at the assembly codes generate by the gcc(release version)
Do QtCreator has some function could let me observe it?Thanks -
Two Ideas:
-
In QtCreator (I use 2.5) go to Debug menu and enable "Operate by instruction". This will show you the disassembly and you can step through the instructions.
-
You may want to use 'objdump -D' to generate a disassembled version of your whole application. This is no QtCreator feature, however. But it's contained in the SDK's MinGW release für command line use.
-