Can Qt Creator show disassembly?
-
Hmmm, there seems to be something wrong with the debugger, it zips right through the breakpoints, the program finishes and I get an error window titled "Executable Failed" saying "During startup program exited with code 0x0"
I am not debugging anything too fancy either, just this short snippet I was curious to see how the compiler handles offset calculations.
@ void *memory = malloc(1000);
for (int i=0; i<10; ++i) *((int*)memory+sizeof(int)*i) = i; for (int i=0; i<10; ++i) cout << *((int*)memory+sizeof(int)*i) << endl;@
I also tried to do it in visual studio but the MS compiler seems to be very unhappy with void pointer arithmetics, evne when cast to a type pointer...