Rust Debugging Paper Cuts

These are some of the pain points I have felt while trying debug Rust code in GDB. Some of them may be already solved problems but I don’t know the solution yet. Don’t step in to standard library source code This is a major issue step accidentally into rust std source code. Then do next command for few times till get out of it. More generally it would be nice to have command that will omit stepping into a few selected crates.

Codemods: Path to painless upgrades in Ember

Note: This post assumes some knowledge of JS features from ES2015 This is blog post is continuation to the my other blog post on How to write a codemod Introduction After I wrote my last blog post on How to write a codemod, I was searching for problems that I can use for this blog post to talk more about codemods and I remembered about a blog post complaining the Ember 2.

How to write a codemod

Note: This post assumes some knowledge of JS features from ES2015 If you don’t know what codemods are, go watch this talk by Christoph Pojer (cpojer). Codemods allow you to transform your code to make breaking changes but without breaking the code. Codemods take a JS file as input and turn them into Abstract Syntax Trees (AST) and apply transformations on this AST later converting them back to JS again.