实习@ms——procedure of fixing a bug 2010-11-15 11:55

实习刚开始就是各种装机,装软件,没什么方法好说的。平时偷懒软件都装中文的,不过现在还是老老实实的选英文吧,否则编译的时候还是会有很多问题的。
平时用的软件有vs2008,vs2010,source depot(SD),dashboard. 代码的编写主要在vs2010上,vs2008用来修改.rdl文件,source depot用来管理代码,较类似cvs,dashboard算是用来管理bug的进度吧,我的说法可能水了点,不过反正也不是给大牛看的,这么想应该还算好理解。

SD实现的代码管理也都可以在command命令行里实现,相当于提供了UI接口。常用的命令有:
cd xx\xx\xx\path    //enter the specified path
cd..                      //go to the parent path of the current path
sd sync                 // synchronize the files in the current path with those on the server
build -cZ              //build in the current path
下面这些仅供参考,我比较喜欢用SD,虽然比较慢:
sd edit filename.xx             //make filename.xx open and ready to be modified
notepad filename.xx           //open in notepad
sd opened                         //show which files are opened
windiff -lo                         //show the modification you have made
sd submit filename.xx        //submit the file
sd revert filename.xx         //revert the file, all the modification you've made will be cleared up

Fix bugs 的过程大概是这样:
1. dashboard -> new query ->  "assigned to" "=" "me" ->  run, then you can see the bugs assigned to you.
2. select one bug, decide which files to modify.
3. "edit" the files you want to modify in SD. (For .rdl files, you also need to "edit" the related .rdlc files.) You will see all the opened files in the default changelist. Then you can modify and save them in VS.
4. dashboard -> start razzle button -> "cd project_path" -> "build -cZ"
For the .rdl, you need to build both in the rdl and rdlc path.
5. replace the related dll files. (For my case, from "d:\ssis_core_2\debug\x86" to "c:\program files(x86)\mss\110\tools\binn\management studio")
6. In SD, you can see all the opened files. Create a new changelist about the bug and attach all the related files.
7. dashboard -> code review tab -> pending changes refresh button -> choose the changelist you just created -> code review button -> input bug ID, add to bug list -> add code reviewer(usually your mentor) -> description -> send.
8. after code review by other people, submit the changelist:
dashboard -> code review tab -> pending changes refresh button -> choose the "approved" changelist  -> check in button -> see 5.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值