1. IT-Security >
  2. Cyber Security Nachrichten >
  3. CocoaDebug - iOS Debugging Tool


ArabicEnglishFrenchGermanGreekItalianJapaneseKoreanPersianPolishPortugueseRussianSpanishTurkishVietnamese

CocoaDebug - iOS Debugging Tool

RSS Kategorie Pfeil IT Security Nachrichten vom | Quelle: feedproxy.google.com Direktlink öffnen


 iOS Debugging Tool
  • Shake to hide or show the black bubble. (support both device and simulator)
  • Long press the black bubble to show UIDebuggingInformationOverlay. (Apple's Private API, support iOS 10/11/12)
  • Application memory usage and FPS.
  • List all print() and NSLog() messages which have been written by developer in Xcode. (optional)
  • List of all the network requests sent by the application. (optional)
  • List crash errors. (optional)
  • Share network details via email or copy to clipboard when you are in the Network Details page.
  • Copy logs. (long press the text, then select all or select copy)
  • Search logs by keyword.
  • List application and device informations, including: version, build, bundle name, bundle id, screen resolution, device, iOS version
  • List all sandbox folders and files, supporting to preview and edit.
  • List HTML logs, including console.log(),console.debug(),console.warn(),console.error(),console. info(). (support both WKWebView and UIWebView). (optional)
  • Support JSON and Google's Protocol buffers

Installation

CocoaPods
platform :ios, '8.0'
use_frameworks!

target 'YourTargetName' do
pod 'CocoaDebug', :configurations => ['Debug']
end

Carthage
github "CocoaDebug/CocoaDebug"  
WARNING: Don't submit .ipa to AppStore which has been linked with the CocoaDebug.framework. This Integration Guide outline a way to use build configurations to isolate linking the framework to Debug builds only.

Usage

Swift
//Step 1. (AppDelegate.swift)
#if DEBUG
import CocoaDebug
#endif

//Step 2. (AppDelegate.swift)
#if DEBUG
CocoaDebug.enable()
#endif

//Step 3. (AppDelegate.swift)
public func print(file: String = #file, function: String = #function, line: Int = #line, _ message: T, color: UIColor = .white) {
#if DEBUG
swiftLog(file, function, line, message, color, false)
#endif
}

Objective-C
//Step 1. (AppDelegate.m)
#ifdef DEBUG
@import CocoaDebug;
#endif

//Step 2. (AppDelegate.m)
#ifdef DEBUG
[CocoaDebug enable];
#endif

//Step 3. (PrefixHeader.pch)
#ifdef DEBUG
#import "_ObjcLog.h"
//#import //if use framework
#endif

//Step 4. (PrefixHeader.pch)
#ifdef DEBUG
#define NSLog(fmt, ...) [_ObjcLog logWithFile:__FILE__ function:__FUNCTION__ line:__LINE__ color:[UIColor whiteColor] unicodeToChinese:NO message:(fmt), ##__VA_ARGS__]
#else
#define NSLog(fmt, ...) nil
#endif

Parameters

When you initialize CocoaDebug, you can customize the following parameter values before CocoaDebug.enable().
  • serverURL - If the crawled URLs contain server URL ,set these URLs bold font to be marked. not mark when this value is nil. default value is nil.
  • ignoredURLs - Set the URLs which should not crawled, ignoring case, crawl all URLs when the value is nil. default value is nil.
  • onlyURLs - Set the URLs which are only crawled, ignoring case, crawl all URLs when the value is nil. default value is nil.
  • tabBarControllers - Set controllers to be added as child controllers of UITabBarController. default value is nil.
  • logMaxCount - The maximum count of logs which CocoaDebug display. default value is 1000.
  • emailToRecipients - Set the initial recipients to include in the email’s “To” field when share via email. default value is nil.
  • emailCcRecipients - Set the initial recipients to include in the email’s “Cc” field when share via email. default value is nil.
  • mainColor - Set the main color with hexadecimal format. default value is #42d459.

...

Webseite öffnen Komplette Webseite öffnen

Newsbewertung

Kommentiere zu CocoaDebug - iOS Debugging Tool






Ähnliche Beiträge

  • 1. CocoaDebug - iOS Debugging Tool vom 619.6 Punkte ic_school_black_18dp
     iOS Debugging Tool Shake to hide or show the black bubble. (support both device and simulator) Long press the black bubble to show UIDebuggingInformationOverlay. (Apple's Private API, support iOS 10/11/12) Application memory usage and FPS. List all
  • 2. Scrounger - Mobile Application Testing Toolkit vom 149.15 Punkte ic_school_black_18dp
    Scrounger - a person who borrows from or lives off others. There is no better description for this tool for two main reasons, the first is because this tool takes inspiration from many other tools that have already been published, the second reason is because it lives off mobile application's vulnerabilities. Why Even th
  • 3. Tool-X - A Kali Linux Hacking Tool Installer vom 114.91 Punkte ic_school_black_18dp
    What is Tool-X ?Tool-X is a kali linux hacking Tool installer. Tool-X is Developed By Rajkumar Dusad. with the help of Tool-X you can install best hacking tools in Rooted or Non Rooted Android devices. In the Tool-X there are almost 240 hacking tools availab
  • 4. Malcolm - A Powerful, Easily Deployable Network Traffic Analysis Tool Suite For Full Packet Capture Artifacts (PCAP Files) And Zeek Logs vom 111.96 Punkte ic_school_black_18dp
    Malcolm is a powerful network traffic analysis tool suite designed with the following goals in mind: Easy to use – Malcolm accepts network traffic data in the form of full packet capture (PCAP) files and Zeek (formerly Bro) logs. These artifacts can be
  • 5. R0Ak (The Ring 0 Army Knife) - A Command Line Utility To Read/Write/Execute Ring Zero On For Windows 10 Systems vom 111.14 Punkte ic_school_black_18dp
    r0ak is a Windows command-line utility that enables you to easily read, write, and execute kernel-mode code (with some limitations) from the command prompt, without requiring anything else other than Administrator privileges. Quick Peekr0ak v1.0.0 -- Ring 0 Arm
  • 6. Blazor 0.7.0 experimental release now available vom 99.17 Punkte ic_school_black_18dp
    Blazor 0.7.0 is now available! This release focuses on enabling component coordination across ancestor-descendent relationships. We've also added some improvements to the debugging experience. Here's what's new in the Blazor 0.7.0 release: Cascading values and parameters
  • 7. MindShaRE: Hardware Reversing with the Belkin Surf N300 Router vom 84.62 Punkte ic_school_black_18dp
    In late 2018, the ZDI received a collection of submissions affecting a version of SuperTask! RTOS that runs on a collection of devices. These bug reports were submitted by two new researchers to the program: Josep Pi Rodriguez and Pedro Guilln Nuez. One of
  • 8. Announcing .NET Core 3 Preview 1 and Open Sourcing Windows Desktop Frameworks vom 82.5 Punkte ic_school_black_18dp
    Today, we are announcing .NET Core 3 Preview 1. It is the first public release of .NET Core 3. We have some exciting new features to share and would love your feedback. You can develop .NET Core 3 applications with Visual Studio 2019 Preview 1, Visual Stu
  • 9. HttpRepl: A command-line tool for interacting with RESTful HTTP services vom 73.38 Punkte ic_school_black_18dp
    The ASP.NET team has built a command-line tool called HttpRepl. It lets you browse and invoke HTTP services in a similar way to working with files and folders. You give it a starting point (a base URL) and then you can execute commands like “dir” and
  • 10. 10 Years of Chrome DevTools vom 73.02 Punkte ic_school_black_18dp
    Chrome is turning 10! Thank you for making the web development community so open, collaborative, and supportive. DevTools draws inspiration from countless other projects. Here’s a look back at how DevTools came about, and how it’s changed over the
  • 11. 10 Years of Chrome DevTools vom 73.02 Punkte ic_school_black_18dp
    Chrome is turning 10! Thank you for making the web development community so open, collaborative, and supportive. DevTools draws inspiration from countless other projects. Here’s a look back at how DevTools came about, and how it’s changed over the
  • 12. Compiling C# to WASM with Mono and Blazor then Debugging .NET Source with Remote Debugging in Chrome DevTools vom 69.98 Punkte ic_school_black_18dp
    Blazor quietly marches on. In case you haven't heard (I've blogged about Blazor before) it's based on a deceptively simple idea - what if we could run .NET Standard code in the browsers? No, not Silverlight, Blazor requires no plugins and doesn't introduc