Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add call tracing functionality. #15

Merged
merged 1 commit into from
Mar 9, 2023
Merged

Add call tracing functionality. #15

merged 1 commit into from
Mar 9, 2023

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Mar 9, 2023

This should make it easier to file bugs with upstream projects that aren't familiar with Julia:

julia> using ObjectiveC
julia> ObjectiveC.enable_tracing(true)
[ Info: ObjectiveC.jl tracing setting changed; restart your Julia session for this change to take effect!

# restart Julia

julia> using ObjectiveC

julia> str = NSString("test");
+ [NSString stringWithUTF8String: (Int8*)0x000000010dc65428]
  (id<NSString>)0x983d4f92876ccd8c

julia> String(str)
- [(id<NSString>)0x983d4f92876ccd8c UTF8String]
  (Int8*)0x000060000376d6a8
"test"

@codecov
Copy link

codecov bot commented Mar 9, 2023

Codecov Report

Patch coverage: 75.51% and project coverage change: +0.72 🎉

Comparison is base (d34df8a) 65.82% compared to head (416acd6) 66.54%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #15      +/-   ##
==========================================
+ Coverage   65.82%   66.54%   +0.72%     
==========================================
  Files           8        8              
  Lines         512      556      +44     
==========================================
+ Hits          337      370      +33     
- Misses        175      186      +11     
Impacted Files Coverage Δ
src/primitives.jl 49.25% <50.00%> (+0.02%) ⬆️
src/syntax.jl 69.47% <74.41%> (+0.90%) ⬆️
src/ObjectiveC.jl 100.00% <100.00%> (ø)
src/foundation.jl 73.73% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@maleadt maleadt merged commit c0c0d7f into master Mar 9, 2023
@maleadt maleadt deleted the tb/call_tracing branch March 9, 2023 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant