Showing posts with label JustDecompile. Show all posts
Showing posts with label JustDecompile. Show all posts

Wednesday, June 08, 2011

JustDecompile continues to evolve

JustDecompileIt's only been a few weeks since we introduced the JustDecompile beta to massive online audiences, and in the time that has passed JustDecompile has been downloaded thousands of times. The early feedback has been overwhelmingly positive, and we're happy that the community is as excited as we are to rethink the free .NET assembly browser and decompiler. You can join in the conversation and share your ideas by visiting the official JustDecompile UserVoice page today.

JustDecompile has already been updated a few times since the original beta, adding new functionality, improving performance, and refining decompiled code output. This is an ongoing process, but we hope that the early and frequent access to new bits helps you get the most out of JustDecompile and encourages you to stay engaged in the beta.

Latest Updates

This week, JustDecompile received another round of updates, building on the improvements introduced around the time of TechEd. Full release notes are available online, but I thought I'd highlight some of the things now in JustDecompile that were not in the original beta release:

  • Support for decompiling to VB (in addition to C#)
  • Support for processing variable names from PDB symbols (when available)
  • Ability to customize code viewer fonts, colors, and sizes
  • Support for viewing (and saving) assembly resources
  • Tool tips that display the full type name
  • Better decompiling support for:
    • nested types
    • anonymous delegates
    • lock statements
    • yield statements
    • generics
  • Improved installer

Clearly, this is all in addition to work on memory optimization, and lots of little things being done to improve the product. In the list above, four of the major items (all italicized) are a result of direct feedback through UserVoice! We're listening and improving quickly based on your input, so don't miss your chance to help shape the JustDecompile roadmap.

Custom Colors

One of the new features in the latest release is support for customizing the Code Viewer fonts, colors, and sizes. JustDecompile now provides a simple, interactive dialog, complete with a color picker, for customizing the colors for various code "tokens," along with support for adjusting the font and font size. There are two themes built-in to JustDecompile today: the default and a theme called VibrantInk (essentially, a dark background theme).

Any customizations you make to the theme are saved in the JustDecompile settings file (located in the JustDecompile AppData folder). So, while today's beta lacks the ability to easily add or share custom themes, you can directly modify the Settings.xml file to directly "import" your own custom theme.

justdecompile-colors

For an example, I've created a simple theme that simulates the code viewer stylings of Reflector 6.5 (yellow background, Segoe UI font, etc.). You can use this "theme" by simply replacing the <CodeViewSettings> XML in your settings file with the following:

File: C:\Users\{your username}\AppData\Roaming\JustDecompile\Settings.xml

<CodeViewerSettings>
<ColorSettings>
<ColorSetting>
<Name>Background</Name>
<Color>
<A>255</A>
<R>255</R>
<G>255</G>
<B>225</B>
<ScA>1</ScA>
<ScR>1</ScR>
<ScG>1</ScG>
<ScB>0.7529422</ScB>
</Color>
</ColorSetting>
<ColorSetting>
<Name>Reference</Name>
<Color>
<A>255</A>
<R>25</R>
<G>144</G>
<B>55</B>
<ScA>1</ScA>
<ScR>0.009721218</ScR>
<ScG>0.2788943</ScG>
<ScB>0.0382043719</ScB>
</Color>
</ColorSetting>
<ColorSetting>
<Name>Key Word</Name>
<Color>
<A>255</A>
<R>16</R>
<G>0</G>
<B>160</B>
<ScA>1</ScA>
<ScR>0.005181517</ScR>
<ScG>0</ScG>
<ScB>0.3515326</ScB>
</Color>
</ColorSetting>
<ColorSetting>
<Name>Literal</Name>
<Color>
<A>255</A>
<R>128</R>
<G>0</G>
<B>0</B>
<ScA>1</ScA>
<ScR>0.2158605</ScR>
<ScG>0</ScG>
<ScB>0</ScB>
</Color>
</ColorSetting>
<ColorSetting>
<Name>Text</Name>
<Color>
<A>255</A>
<R>0</R>
<G>0</G>
<B>0</B>
<ScA>1</ScA>
<ScR>0</ScR>
<ScG>0</ScG>
<ScB>0</ScB>
</Color>
</ColorSetting>
<ColorSetting>
<Name>Write Usage</Name>
<Color>
<A>255</A>
<R>255</R>
<G>200</G>
<B>216</B>
<ScA>1</ScA>
<ScR>1</ScR>
<ScG>0.577580452</ScG>
<ScB>0.6866853</ScB>
</Color>
</ColorSetting>
<ColorSetting>
<Name>Read Usage</Name>
<Color>
<A>255</A>
<R>173</R>
<G>228</G>
<B>240</B>
<ScA>1</ScA>
<ScR>0.4178851</ScR>
<ScG>0.7758222</ScG>
<ScB>0.8713671</ScB>
</Color>
</ColorSetting>
<ColorSetting>
<Name>None Usage</Name>
<Color>
<A>255</A>
<R>173</R>
<G>228</G>
<B>240</B>
<ScA>1</ScA>
<ScR>0.4178851</ScR>
<ScG>0.7758222</ScG>
<ScB>0.8713671</ScB>
</Color>
</ColorSetting>
</ColorSettings>
<FontFamilyName>Segoe UI</FontFamilyName>
<FontSize>12</FontSize>
</CodeViewerSettings>

Enjoy!

Reflector Lists

One final JustDecompile highlight. If you've built-up a library of Reflector assembly lists over the years and want to bring those over to JustDecompile, one of the Telerik product team devs has created a simple WPF tool to help you do just that. You kind find the simple import utility on his blog and start enjoying your Reflector lists in JustDecompile today.

Keep enjoying the JustDecompile beta and stay tuned for more updates. Another refresh is just around the corner!

Wednesday, April 27, 2011

JustDecompile Unofficial FAQs

JustDecompileToday Telerik proudly introduced the beta for a  brand new .NET assembly browser and decompiler called JustDecompile. This new tool is designed to make assembly browsing and decompiling easier than ever before by integrating many of the innovations created for JustCode, Telerik's Visual Studio productivity plug-in, with a tool dedicated to the tasks related to assembly browsing. Oh! And it's a free tool. Forever. For everyone.

Obviously, anytime a new tool is introduced there are MANY questions that need answers, even during a beta. So without further pretense, enjoy this collection of answers to some of (or what will soon be) the most common JustDecompile BETA questions.

JustDecompile Q&A

Q: What is JustDecompile?
JustDecompile is a free tool from Telerik for .NET assembly browsing and decompiling. In other words, it lets you take an existing compiled assembly (.dll or .exe) and easily browse the symbols it contains, and then just as easily decompile the assembly language back to easily readable C# (and in the future VB, IL, and possibly other languages). JustDecompile is a standalone tool and it does not require Visual Studio.

Q: How much does JustDecompile cost?
JustDecompile is 100% free and it will remain that way forever. Assembly browsing and decompiling is a basic .NET developer toolbox necessity and Telerik is happy to provide the ultimate tool for that action for free. This perfectly complements Telerik's other "money making" developer tools, like JustCode, so we will not charge for JustDecompile in the future.

Q: Is JustDecompile and open source tool?
While JustDecompile is free, it is not open source. It is available from Telerik free of charge for perpetual use (there are no "time bombs" in the software). Since JustDecompile incorporates code and innovations from the commercial JustCode product, we cannot make the JustDecompile source available.

Q: Why is Telerik creating an assembly browser/decompiler?
A few reasons. First, Telerik is helping address a "gap" that was created in the .NET market when a popular assembly browser/decompiler ceased to be freely available (with all future updates are behind a "pay wall"). Secondly, Telerik is helping reimagine the assembly browser/decompiler. Existing tools have not evolved greatly over the last few years, while .NET and development has seen huge amounts of change. Telerik is aiming to innovate in the user experience and decompiling code quality with JustDecompile.

JustDecompile also perfectly compliments Telerik's other developer productivity tools, like JustCode, JustMock, and JustTrace. Telerik continues to build on its promise to be an end-to-end provider of solutions for all aspects of software development.

Q: What makes JustDecompile special?
JustDecompile is doing a number of things that are cool and new for assembly browsing/decompiling:

  1. Side-by-side Assembly Loading
    Load different versions of the same assembly side-by-side without being forced to always unload and reload
  2. Innovative Code Navigation
    Borrowing from the useful JustCode code navigation found in Visual Studio, JustDecompile provides fast code navigation. Support for keyboard short cuts, CamelCase searching, and searching for Types and Symbols.
  3. Integrated Code Analysis
    In other tools, full analysis requires multiple actions (Used By, Instantiated By, Exposed By, etc.). JustDecompile roles these all-up in to a single easy to execute "Find Usages" action, complete with code context snippets and highlighting.

Check-out the product team blog on JustDecompile and JustTrace to see more about what's in the first JustDecompile beta.

Q: When will JustDecompile be available?
JustDecompile Beta is available now for immediate download. The first official release of JustDecompile will be part of the Telerik Q2 2011 release this summer. After v1, JustDecompile will join the Telerik update cycle, getting 3 major updates per year + intermediate service packs and hotfixes as necessary. We have a huge road map for JustDecompile with lots of great enhancements planned for 2011 and 2012.

Q: Does JustDecompile support languages other than C# (like VB, IL, F#, etc)?
The beta currently only decompiles to C#, however JustDecompile has been designed to output to other languages. Before the first official release, JustDecompile will also support outputting VB. After that, we will add language support based on customer and community feedback, most likely focusing MSIL next.

Q: Does JustDecompile support 3rd party extensions/plug-ins?
JustDecompile is built on Microsoft's Managed Extensibility Framework which provides a familiar model for creating and adding plug-ins to JustDecompile. In fact, JustDecompile's core features, like Find Usages and History Navigation, are simply plug-ins.

In the beta, we have not had time to fully address a polished API for supporting 3rd party extensions, but it is a high priority item on the backlog. Based on continued request for this feature, we will likely add support for plug-ins in 2011.

Q: What are the system requirements for JustDecompile?
JustDecompile requires .NET 4.0. Otherwise, it should just work on Windows systems, 32- or 64-bit.

Q: What do I do after I install JustDecompile?
Unfortunately, the beta installer does not add application shortcuts to the Start Menu or Task Bar. To run JustDecompile after installing, navigate to the install directory (usually, "C:\Program Files (x86)\Telerik\JustDecompile\Libraries") and run JustDecompile.exe.

We recommend pinning JustDecompile.exe to your Start Menu or Task Bar for quick repeat access. In the future, the installer will provide the expected application shortcuts and Windows integration.

Q: Does JustDecompile integrate with Visual Studio?
Not directly, but JustCode does provide native decompiling in the Visual Studio environment. For JustDecompile like functionality natively in Visual Studio, we recommend downloading and installing JustCode.

Q: Can decompiled code be directly exported from JustDecompile?
No, not with today's beta, however we have logged this feature and will likely add it in an upcoming release.

Q: Can obfuscated code be decompiled with JustDecompile?
No, you cannot decompile obfuscated code with JustDecompile. We will gauge interest in adding this feature in the future and consider adding support at that point. For now, this is not on the immediate road map.

Q: Where should I share JustDecompile beta feedback?
Direct all feedback to the JustDecompile beta forums on Telerik.com. We're eagerly waiting to hear from you so we can make the first release the best possible decompiling/assembly browsing tool.

Q: Will decompiling JustDecompile rip a hole is space/time?
Good question from one of the webinars. Answer: No. That's the first thing I checked and we're all still here.

I think that about covers it. I'll add more questions and answers if I've missed something major. For now, be sure to review the product team blog post on JustDecompile and download the beta!