Debugging: All You Need to Know

Debug スキルの習得はバグの原因特定、問い合わせ対応、開発生産性の向上といった代表的な行為に必須です。またチーム開発において、日頃の個々人への作業依頼には暗黙的に Debug 作業が含まれています。 その一方で、デザインドキュメントやコードレビューといったチーム開発手法の中で、Debug に関する方法まで踏み込むことは多くありません。 このような背景から、Debug スキルとは「チーム開発において期待されるスキル」でありながら、「個々人が独学で習得しなければいけないスキル」といえるでしょう。 これは初学者にとって大きな障害となるだけではなく、中級者以上の開発者にとっても見えない障害となっていることがあります。特に手癖や古典的な方法(Print Debugging)で解決できてしまうと、新しい手法やより効率的な手法を調べる機会を損失します。 本セッションでは Android Studio(IDEA) の built-in Debugger や Debug 用オプション等を使った Debug テクニックについて解説します。Debugger を使った conditional breakpoints はもちろん、いかにして Coroutine や suspend function の絡んだコードを Debug するかといった内容を順を追って説明します。 サンプルコードには Jetpack Compose などを用い、Androidアプリ開発における場面を想定して解説する予定です。 Debugging is mandatory for you to identify debugs, to support customers/stakeholders, to improve the development productivity and so on. And also, modern team development expects some debugging skills for individuals. However, standard team development processes like code-reviews and design documents would not approach to debug skill improvements. In this way, debugging skills are mandatory for your teams but also need to learn them alone. This could be an obstacle for both beginners and experts. In particular, experts may lose opportunities to investigate/learn better debugging approaches if problems can be solved by classical ways that are familiar with them. I will talk about debugging skills/techniques by using Android Studio (IDEA)'s built-in debugger, debug options, etc. Conditional breakpoints and coroutine debugging will be covered. You can learn them through sample codes shown in Android app development like Jetpack Compose stuff. Keywords: Print debugging, debugger, coroutine debugging, breakpoints

  • Jumpei Matsuda DeployGate Inc.


概要

  • 日時 2024.09.13 / 16:20 ~ 17:00 (40min)
  • 場所 Iguana
  • 言語 日本語 (英語通訳あり)

対象者

初学者からエキスパートまで幅広く。特に Debugger を使ったことがない人、早く実装を終わらせて休憩したい方にオススメです

Android is a trademark of Google LLC. The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License. Android、Google Play、Google Play ロゴは、Google Inc. の商標です。
これまでのDroidKaigi

© 2014- DroidKaigi 実行委員会