Skip to content

Scior/LLDBVisualDebug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLDBVisualDebug

Before Debugging

Place .lldbinit or .lldbinit-Xcode in your home directory to import Python scripts.

(Example file: .lldbinit.sample)

Usage

saveimage

Screen.Recording.2021-06-23.at.9.55.36.mov

Captures contents in the specific UIView and save them as a PNG file.

Before calling saveimage, you have to call loadext to load Swift extensions.

(lldb) loadext
(lldb) saveimage imageView /tmp/alpaca.png

overlayimage

Screen.Recording.2021-06-23.at.10.02.52.mov

Create a image view for debugging from a local image file and add it to the superview of the forcusing UIView.

(lldb) loadext
(lldb) overlayimage imageView /tmp/alpaca.png

Sample Project

ImageBuffer and DebugOverlayView are placed in the LLDBVisualDebugSample directory.

About

Sample codes for "Checking Design using LLDB" @ potatotips #74 (2021/06/23)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published