The biggest fear of being a programmer is to maintain the company's old projects, these projects often have issues such as lack of documents, data confusion, code confusion, few comments, and a number of maintenance personnel. Recently, the landlord has maintained a very good project, this is the best project that has been maintained over the past two years. Let's talk about it.
First of all, when I checked out the project code from SVN, I was stunned by the TM. It was actually compiled and released. Yes, there is no source code, only aspx files and DLL, without the source code, How can I change the bug? TMD also needs to add functions and slots, so that I have not been familiar with compiled projects and have read hundreds of lines of code and have not seen the function added to the annotated projects? I asked the leaders and said calmly that the source code was lost and I didn't know how to lose it ...... I really want to slap you. Ah, there is an impulse to resign. It's really hard for programmers.
No way. Just put it on your head. In this way, I used vs to open the compiled project, which was about 05 years old, all these are server controls such as gridview and Textbox, which are rarely used now. As a result, an error is reported after a few clicks, because there is no CS file and there is no way to debug the breakpoint. It is a headache. After a while, I thought of a good way, that isFirst, check which page reports an error, decompile the DLL on this page, obtain the source code, and sort out the source code to make the CS file hanging under that page, and then perform breakpoint debugging., Yes! This is feasible. I changed the bug at 1.1 and added new features. Now, I think I am a great TMD.
Cherish life and stay away from maintenance.