Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Android
  3. Scalpel

Scalpel

Apache-2.0Java

A surgical debugging tool for Android that visualizes view hierarchies in 3D with interactive layer inspection.

GitHubGitHub
2.8k stars230 forks0 contributors

What is Scalpel?

Scalpel is an Android debugging library that visualizes view hierarchies in an interactive 3D space, allowing developers to inspect the layers beneath their app's UI. It helps identify layout issues and understand complex view structures by providing surgical precision in debugging.

Target Audience

Android developers who need to debug complex view hierarchies, optimize layouts, or understand the layer structure of their UI components.

Value Proposition

Developers choose Scalpel for its unique 3D interactive visualization of Android view layers, which offers a more intuitive and surgical approach to debugging compared to traditional 2D inspectors.

Overview

A surgical debugging tool to uncover the layers under your app.

Use Cases

Best For

  • Debugging overlapping or nested view issues in Android layouts
  • Understanding the depth and layer structure of complex UI hierarchies
  • Inspecting view IDs and relationships in a visual 3D environment
  • Identifying performance issues related to view depth and rendering
  • Teaching or learning about Android view hierarchy concepts visually
  • Replacing or supplementing older Android layout debugging tools

Not Ideal For

  • Projects using Android Studio 4.0 or newer, as the built-in layout inspector includes a live-updating 3D view
  • Apps targeting Android versions below 4.4, due to known text rendering issues that Scalpel cannot fix
  • Teams requiring active library maintenance or regular updates, since Scalpel is deprecated
  • Developers needing automated or server-side debugging tools, as Scalpel is client-side and manual

Pros & Cons

Pros

Interactive 3D Visualization

Provides a unique, interactive 3D space to explore view hierarchies with rotation, zoom, and layer spacing adjustments via touch gestures, as shown in the sample GIF.

Debug-Build Integration

Can be wrapped around activity layouts only in debug builds using Gradle, ensuring it doesn't affect production code, as mentioned in the README.

Customizable Display Options

Allows toggling wireframe mode, displaying view IDs, and changing chrome colors for better visibility during debugging, per the usage instructions.

Surgical Debugging Focus

Emphasizes precision in uncovering underlying view architecture, helping identify layout issues and complex structures intuitively.

Cons

Deprecated and Obsolete

Officially deprecated, as Android Studio 4.0's layout inspector now includes a live-updating 3D view, making Scalpel irrelevant for modern development.

Platform-Specific Limitations

Has known text rendering issues on Android versions prior to 4.4 that cannot be fixed, limiting its effectiveness for legacy apps, as admitted in the README.

Manual Setup Complexity

Requires placing a ScalpelFrameLayout at the root of the hierarchy and enabling features programmatically, adding overhead compared to integrated tools.

No Live Updates

Lacks live-updating capabilities for dynamic view changes, reducing debugging efficiency compared to Android Studio's real-time inspector.

Frequently Asked Questions

Quick Stats

Stars2,762
Forks230
Contributors0
Open Issues8
Last commit6 years ago
CreatedSince 2014

Tags

#3d-visualization#android-library#ui-inspection#android-debugging#mobile-development#development-tools#view-hierarchy

Built With

A
Android

Included in

Android12.0k
Auto-fetched 7 hours ago

Related Projects

Facebook StethoFacebook Stetho

Stetho is a debug bridge for Android applications, enabling the powerful Chrome Developer Tools and much more.

Stars12,667
Forks1,116
Last commit1 year ago
Android Debug Bridge - ADBAndroid Debug Bridge - ADB

ADB Usage Complete / ADB 用法大全

Stars12,396
Forks2,288
Last commit1 year ago
Android Debug DatabaseAndroid Debug Database

A library for debugging android databases and shared preferences - Make Debugging Great Again

Stars8,674
Forks885
Last commit5 months ago
PidcatPidcat

Colored logcat script which only shows log entries for a specific application package.

Stars4,946
Forks515
Last commit2 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub