You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried using CustomDump with lldb by writing a python script.
In my mind, the result of customDump() is nicer than Swift's own dump(). Not only that, I think having diff() in lldb is a huge benefit!
While working on this, I had few thoughts and challenges that I thought I can share here.
First of all, is it something that anyone other than me is interested in? 😄
Secondly, how can it be shipped? As far as I know, people should add extra lldb scripts to the global .lldbinit file or import it in every debugging session. Is there any other way to import the script only for a specific project (specially when the project is dependent to the swift-custom-dump)? Or it should be shipped similar to how facebook/chisel is shipped with homebrew?
I would be happy to know your opinion on using swift-custom-dump this way!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I tried using CustomDump with lldb by writing a python script.
In my mind, the result of
customDump()
is nicer than Swift's owndump()
. Not only that, I think havingdiff()
in lldb is a huge benefit!While working on this, I had few thoughts and challenges that I thought I can share here.
.lldbinit
file or import it in every debugging session. Is there any other way to import the script only for a specific project (specially when the project is dependent to the swift-custom-dump)? Or it should be shipped similar to how facebook/chisel is shipped with homebrew?I would be happy to know your opinion on using swift-custom-dump this way!
Beta Was this translation helpful? Give feedback.
All reactions