-
Notifications
You must be signed in to change notification settings - Fork 2
Doesn't work, neither Xcode 6.4 nor Xcode 7 beta 3 (7a152u) #8
Comments
Breakpoints? Multiple Xcode versions? I don't understand why you are using two versions of Xcode. Also you seem to expect breakpoints. |
I have Alcatraz installed and ~10 extensions, half of them work always, the other half only sometimes or not at all. LinkedLog is in the last group - "doesn't work" means that I never saw even 1 blue underscored link. Neither in Xcode 6.4 nor in 7ß3. The debug log was as it always was. No crashes or hanging... And yes, the two-versions thing was about debugging LinkedLog itself, setting breakpoints in LL source, examining values. That could only work if LL is called from e.g. Xcode 6.4 debugging hello-world with LL enabled, and that Xcode 6 being debugged (attached) by Xcode 7ß3 editing LL source without LL enabled - right? |
Yeah, right. Dumb question: did you use |
Oh, by the way, the best approach is to run (build) the project with an official non-beta Xcode. To do so, simply edit your Then quit all Xcode and delete the Plugin from Nur run the Plugin. This will build the Plugin to the path above. Then, Xcode will launch a new instance of itself (formerly of the application you set as the executable for the |
I tried your suggestion: set Xcode6E35b.app as target, quit Xcode, delete the plugin, launch Xcode6E35B again with the LinkedLog project, set a breakpoint in NSTextStorage+findInFiles.m in method _processEditing, line 50 (after the "matches" array is computed). Clicked on Debug. A second instance of Xcode launched, asked to load the LinkedLog.bundle (of course), then I opened my own project and tried to debug... However, the array was always empty. The regex never matched. 2015-10-28 17:02:29.834 vr.de[29651:2929459] COPOSTService.m:109 -[COPOSTService callServiceWithURL:andRequestData:identifiedBy:error:] Calling service where I would expect "COPOSTService.m:109" to be found. 2015-10-28 17:02:29.900 vr.de[29651:2929459] BATitleView.m:210: -[BATitleView loadB] Logon where I would expect "BATitleView.m:210:" to be found. But the array "matches" is always empty... OK, then let's examine the regex: Two hours later... I got it... However, my main project includes a security library which generates 9 lines of output like 13: Unix: http_module_mangled_mangled.cpp:50: http_module_init: strings before any LLogF statements. It seems your regex cannot skip over that, and thus never examines the 10th and following lines where the LLogF statements are... Since I am no regex guru - do you have a suggestion how to modify the pattern to skip those bad-formatted lines? And yes, more such lines may be later in the consoleText also... Thanks, |
Hey Marc! |
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?
The text was updated successfully, but these errors were encountered: