Giter Site home page Giter Site logo

julian-weinert / linkedlog Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 2.0 420 KB

LinkedLog is a Xcode plugin that includes a Xcode PCH header file template that adds the macros `LLog` and `LLogF` and parses their output to link from the console to the corresponding file and line.

License: MIT License

Objective-C 100.00%

linkedlog's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

ghousesgb

linkedlog's Issues

Doesn't work, neither Xcode 6.4 nor Xcode 7 beta 3 (7a152u)

Title says it all - doesn't work.
How can you debug it?
Enable LinkedLog in Xcode 6.4, disable in 7ß3, build in 7ß3 and Run/Debug.
Launch Xcode 6.4, attach that in 7ß3, then debug a simple hello-world project with LLog statements in 6.4. LinkedLog in 6.4 will execute and parse the debugstring, and Xcode 7ß3 will break at breakpoints.
Right?

User wants to add LLog definition to any file

The plugin must provide the possibility to add the LLog definition to a project with a PCH file in place.
This could be a menu item in the edit menu to insert the definition at the cursor location or automatically to the existing PCH file

XCode crash

When I debug my APP like this
image
XCode do crash!

Additional: ConsoleTextView is not empty. When I debug my APP with breakpoint by Step over, Xcode do crash!

Application Specific Information:
ProductBuildVersion: 6C131e
UNCAUGHT EXCEPTION (NSRangeException): *** -[__NSCFString substringFromIndex:]: Index 240 out of bounds; string length 180

Regex broken!?

For me the regex doesn't match. Im running Xcode7.2 with the latest alcatraz build and I never see any blue, underlined, clickable text

regex seems to be "^[\d]{4}-[\d]{2}-[\d]{2}\s[\d]{2}:[\d]{2}:[\d]{2}.[\d]{3}\s[^\[][\d:\d_]\s(.+/([^\/:]+:\d+)):\s._"
sample line from the log (1st line) = "2016-02-15 16:22:16.330 myApp LIVE[26556:136834] /Users/dpich/Documents/MySources/myaapp-ios/myApp/Classes/AppDelegate.m:68: didFinishLaunch"

Parse and Link all log statements

Hey @julian-weinert , the project is such a neat / thisshouldalreadyexistApple / useful idea!

I apologize if this is out of the scope of the project but I was wondering if it would be difficult to extend the linking to all log statements, say any obvious [File name]:[Line number] match.

Considering how many log libraries are out there that people are tied to, especially libraries that by now are very extensive, it would be awesome if LinkedLog was agnostic to logging method you used, just so long as you matched an obvious pattern.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.