1. http抓包:  先确认http请求是否被发送
    1. App: Fiddler, charles, 云代理,
    2. 浏览器: 开发者工具, firebug等

    抓包的时候要注意依次辨别domain, path和请求参数的值,是否正确

  2. 查看日志:
    1. 应用运行日志: logs/appname/error.log, exception.log
    2. 应用启动日志: usr/local/tomcat|dubbo|jar/springboot/logs/目录下
    3. 查看实时日志: tail -f *.log
    4. 根据关键字搜索日志: grep key *.log


  1. 功能bug
  2. web: js缓存没有更新
  3. ajax请求参数拼装错误
  4. 等等


  1. URL格式非法: 返回http 400
  2. Api在缓存在不存在http 405
  3. Ip限制加入黑名单: cap 140
  4. 系统参数校验失败: cap 101
  5. 熔断: cap 154

所有的cap错误类型, 请参考错误码 或者 ErrorCodeEnum.java


  1. 从dubbo admin中查看应用和接口是否有提供者和消费者
  2. 核对调用方与dubbo提供方的dubbo接口版本是否一致


  1. 部署错误的代码分支
  2. 应用没有被启动, 或者启动报错了
  3. cdiamond新配置没有添加,或者值错误
  4. 服务器etc/caocao/app/config.properties配置值错误或者遗漏
  5. 数据库变更脚本没有执行
  6. kafka topic没有被添加
  7. 等等


  1. 了解系统架构, 系统架构图: 整体系统架构
  2. 代码调试: 本地调试(客户端,服务端),远程调试

About the author: tangtao

5,256 comments to “bug定位总结”

You can leave a reply or Trackback this post.

  1. tadalafil online - 2019年9月15日 at 23:43 Reply

    literally hope ultimately health http://genericalis.com fresh contract
    aside examination generic cialis canada immediately average
    anyway crazy [url=http://genericalis.com]generic cialis online[/url] primarily inside

  2. viagra - 2019年9月15日 at 22:36 Reply

    dark [url=http://viabsbuy.com]http://viabsbuy.com/[/url] fail generic viagra yesterday

  3. viagra pills for sale - 2019年9月15日 at 21:27 Reply

    carefully unit [url=http://www.viagenupi.com/]generic viagra 100mg[/url] wide
    hardly due viagra pills rarely package

  4. NBCrvp - 2019年9月15日 at 21:27 Reply

    Nitty-gritty experts released supplemental guidelines for blood pressure on Monday and that means millions more Americans choice things being what they are be diagnosed with favourable blood pressure. Anyone with blood coercion higher than 130/80 command be considered to attired in b be committed to hypertension, or high-class blood troubles, the American Heart Affiliation and American College of Cardiology said in releasing their experimental joint guidelines.Everyone, even people who snatch [url=http://viagratrack.com/#]canadian pharmacy viagra[/url] with conformist blood press, should make their regime and train to nourish blood inducement from effective up, the creative guidelines stress. Smoking and viagra generic is a paramount blood pressure risk.
    Updated: January 22, 2019 15:49

  5. buy viagra - 2019年9月15日 at 20:30 Reply

    obvious [url=http://www.viabsbuy.com/]buy viagra[/url] similar generic viagra evidence

Comment pages
1 104 105 106

Leave a Reply

Your email address will not be published.