LoginSignup
0
0

More than 3 years have passed since last update.

【Android Studio】NDKデバッグ変数表示のHEX化

Posted at
1 / 12

アプリではHEX表示出来てNDKでは出来ない・・・。んな訳ない!


でも、ググっても出てこない・・・
(しかたなく) Google Issue Trackerで問い合わせ!
⇒ 無事解決できた!というお話。


Googleからの回答

This is something we inherit from CLion. You can turn on hex view following this instruction:
https://www.jetbrains.com/help/clion/using-hexadecimal-view.html

⇒ CLionベースなので、こんな感じで設定変更したらHEX表示できるよ!との回答。


Enable hexadecimal view (少しアレンジ)


1.
In Find Action dialog (Shift+Ctrl+A on Linux/Windows, ⇧⌘A on macOS) type Registry; open Registry, type cidr.debugger.value.numberFormatting.hex (or just hex) to search for the setting and turn it on.
MaintenancePopup.png


RegistryPopup.png


2.
Go to Settings / Preferences | Build, Execution, Deployment | Debugger | Data Views | C/C++ and set the checkbox Show hex values for numbers. Choose to have hexadecimal values displayed instead or alongside the original values:


設定前
DecView.png


設定後(やった!)
HexView.png


まとめ

Currently, this feature is experimental. 的な事もあるので、開発元への問い合わせ。大事。


以上

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0