Share two reflector plug-ins in use

Source: Internet
Author: User
Keywords Can this debugging two is
Tags button click code debug debugging files function name

Recommended two artifact: Deblector and Reflexil

Deblector

Its name is the combination of debug and reflector two words. is used for debugging. Simply put, it can start the debugging process like the IDE, or attach to a running process and debug them, set breakpoints, step through, view variables, and so on. It does not require PDB files, nor does it rely on the IDE as the Debug plug-in for Reflector Pro, nor does it need to decompile DLLs. All work is done only within reflector, isn't it cool. But the downside is that it can only be debugged at the IL level. But this is basically enough for us to debug bugs.

Briefly describe the usage of this plugin. After installing to reflector, the Tools menu will have one more deblector menu.

Click to open this menu, you can open the plugin. At this time Reflector toolbar will be a number of button.

The meaning of these button is not much said, I see ToolTip.

If you want to start a new process debugging, you can drag the exe to reflector, and then click on the toolbar on the first button, is the small triangle, you can automatically start this exe and into the debug mode.

At this point the process starts up, but it breaks down at the entrance of the main function and waits for your action, at which point you can find the way you want to set the breakpoint, F9 set the breakpoint.

Then click on the small triangle or F7 to continue running the program. Then when the program comes to the breakpoint, it can be broken.

Note here that to set a breakpoint, you have to be able to do it when the program is already disconnected, which is why it automatically breaks at the main entrance at the beginning of the program. If you want to set a breakpoint halfway, you can click the Pause button. Pause, then set. Other features play it yourself. This tool seems to have stopped updating now, and I have tested the code that can debug 3.5. 4.0 doesn't seem to adjust.

Reflexil

Simply put, this dongdong can modify the DLL's code and save it as a new DLL. In its own parlance, it is called the DLL injection tool. It seems nothing to look at this alone. But the function of this plugin is very powerful. I'll simply say something: After installation, there will be this menu,

There are also different right-click menus:

When you select a method, it displays the IL code and a lot of other information that can be modified.

Especially noteworthy is his "Replace All will code" function, the point of the meeting appears a C # code editor, and the current method of the empty method body, and then free to write code. With smart tips OH. After you finish writing, click Compile. Note that the code here seems to use the full name, and other times it may be wrong, not to be edited.

The rest of the functionality is not much to say, it can almost modify anywhere in the DLL, and support for strong names, and support for strong-name references are strong enough to try for yourself.

Welcome to share your experience.

Download Address: Deblectoraddin-1.1.zip, Reflexil.1.1.bin.zip
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.