Na tej stronie

Wyświetlanie kodu dezasemblowanego

Deasembler przekształca język maszynowy na język asemblera, aby był on czytelny dla człowieka.

Widok „ Disassembler ” wyświetla kod deasemblowany dla bieżącej funkcji. Jest to przydatne w przypadku poleceń niskopoziomowych do sprawdzania pojedynczych instrukcji, takich jak „ Step Into ” i „ Step Over ”.

Widok deasemblera

Domyślnie GDB wyświetla deasemblację w stylu AT&T. Aby przełączyć się na styl Intel, przejdź do Preferences > Debugger > GDB > Use Intel style disassembly.

Aby otworzyć widok „ Disassembler ”:

  • Przejdź do opcji „ Debug ” > „ Operate by Instruction ” podczas działania debuggera.
  • Wybierz opcję „ Działaj zgodnie z instrukcją ” (Operate by Instruction) na pasku narzędzi debuggera.
  • W widoku „Registers ” wybierz wartość, a następnie wybierz opcję „ Open Disassembler at <value> ” z menu kontekstowego.

Uruchamianie deasemblera

Aby uruchomić deasembler z widoku „ Registers ”, wybierz opcję „ Open Disassembler ” i ustaw adres deasemblera:

Okno dialogowe „Wybierz adres początkowy”

Zobacz także : Jak: debugowanie, debugowanie i debuggery.

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.