Skip to content

Commit 4c8f17c

Browse files
author
李杰
committed
update:release 0.1.7
1 parent 4586940 commit 4c8f17c

File tree

4 files changed

+96
-2
lines changed

4 files changed

+96
-2
lines changed

JJException.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
#
1717

1818
s.name = "JJException"
19-
s.version = "0.1.6"
19+
s.version = "0.1.7"
2020
s.summary = "Handle the objective-c crash exception."
2121

2222
# This description is used to generate tags and improve search results.

JJException.xcodeproj/xcuserdata/jezz.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,88 @@
22
<Bucket
33
type = "1"
44
version = "2.0">
5+
<Breakpoints>
6+
<BreakpointProxy
7+
BreakpointExtensionID = "Xcode.Breakpoint.AddressBreakpoint">
8+
<BreakpointContent
9+
shouldBeEnabled = "Yes"
10+
ignoreCount = "0"
11+
continueAfterRunningActions = "No"
12+
symbolName = "*0x108e21965">
13+
<Locations>
14+
<Location
15+
shouldBeEnabled = "Yes"
16+
ignoreCount = "0"
17+
continueAfterRunningActions = "No"
18+
usesParentBreakpointCondition = "Yes"
19+
offsetFromSymbolStart = "0">
20+
</Location>
21+
</Locations>
22+
</BreakpointContent>
23+
</BreakpointProxy>
24+
<BreakpointProxy
25+
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
26+
<BreakpointContent
27+
shouldBeEnabled = "Yes"
28+
ignoreCount = "0"
29+
continueAfterRunningActions = "No"
30+
filePath = "JJException/Source/MRC/NSObject+KVOCrash.m"
31+
timestampString = "564488427.585709"
32+
startingColumnNumber = "9223372036854775807"
33+
endingColumnNumber = "9223372036854775807"
34+
startingLineNumber = "133"
35+
endingLineNumber = "133"
36+
landmarkName = "-clearKVOData"
37+
landmarkType = "7">
38+
<Locations>
39+
<Location
40+
shouldBeEnabled = "Yes"
41+
ignoreCount = "0"
42+
continueAfterRunningActions = "No"
43+
symbolName = "-[KVOObjectContainer clearKVOData]"
44+
moduleName = "JJException"
45+
usesParentBreakpointCondition = "Yes"
46+
urlString = "file:///Users/jezz/git_project/JJExceptionGithub/JJException/Source/MRC/NSObject+KVOCrash.m"
47+
timestampString = "564488398.348398"
48+
startingColumnNumber = "9223372036854775807"
49+
endingColumnNumber = "9223372036854775807"
50+
startingLineNumber = "133"
51+
endingLineNumber = "133"
52+
offsetFromSymbolStart = "55">
53+
</Location>
54+
<Location
55+
shouldBeEnabled = "Yes"
56+
ignoreCount = "0"
57+
continueAfterRunningActions = "No"
58+
symbolName = "-[KVOObjectContainer clearKVOData]"
59+
moduleName = "JJException"
60+
usesParentBreakpointCondition = "Yes"
61+
urlString = "file:///Users/jezz/git_project/JJExceptionGithub/JJException/Source/MRC/NSObject+KVOCrash.m"
62+
timestampString = "564488398.350692"
63+
startingColumnNumber = "9223372036854775807"
64+
endingColumnNumber = "9223372036854775807"
65+
startingLineNumber = "133"
66+
endingLineNumber = "133"
67+
offsetFromSymbolStart = "65">
68+
</Location>
69+
</Locations>
70+
</BreakpointContent>
71+
</BreakpointProxy>
72+
<BreakpointProxy
73+
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
74+
<BreakpointContent
75+
shouldBeEnabled = "Yes"
76+
ignoreCount = "0"
77+
continueAfterRunningActions = "No"
78+
filePath = "JJException/Source/MRC/NSObject+KVOCrash.m"
79+
timestampString = "564488427.587878"
80+
startingColumnNumber = "9223372036854775807"
81+
endingColumnNumber = "9223372036854775807"
82+
startingLineNumber = "244"
83+
endingLineNumber = "244"
84+
landmarkName = "-kvo_hookDealloc"
85+
landmarkType = "7">
86+
</BreakpointContent>
87+
</BreakpointProxy>
88+
</Breakpoints>
589
</Bucket>

JJException/PushViewController.m

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(N
2020

2121
}
2222

23+
- (void)dealloc{
24+
NSLog(@"dealloc");
25+
}
26+
2327
@end
2428

2529
@interface PushViewController (){
@@ -32,6 +36,8 @@ @interface PushViewController (){
3236

3337
@property(nonatomic,readwrite,copy)NSString* test1;
3438

39+
@property(nonatomic,readwrite,copy)NSString* demoString1;
40+
3541
@end
3642

3743
@implementation PushViewController
@@ -47,8 +53,12 @@ - (void)viewDidLoad {
4753
[self testKVO];
4854

4955
[self testNotification];
56+
57+
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
58+
_kvoObserver = nil;
59+
});
5060

51-
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
61+
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(6 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
5262
[self dismissViewControllerAnimated:YES completion:nil];
5363
});
5464

0 commit comments

Comments
 (0)