bug定位总结

bug定位基本流程:

 

bug定位核心方法:

  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. 等等

cap常见问题:

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

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

dubbo接口排查:

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

后台模块常见问题原因:

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

终极定位bug方法:

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

About the author: tangtao

3,216 comments to “bug定位总结”

You can leave a reply or Trackback this post.

  1. Muhammad - 2019年2月21日 at 09:39 Reply

    What’s up to all, since I am truly eager of reading this web site’s post to be updated daily.
    It includes nice data.

  2. bfhceami - 2019年2月21日 at 09:05 Reply

    [url=http://buycildjea.com/#]buy cialis no prescription[/url] online cialis can i buy cialis online

  3. bfhceami - 2019年2月21日 at 09:03 Reply

    [url=http://buycildjea.com/#]can i buy cialis in mexico[/url] cialis price buy cialis canada pharmacy

  4. unfspoma - 2019年2月21日 at 07:54 Reply

    [url=http://viaqraonllne.com/#]buying generic viagra online safe[/url] cheap viagra 100mg buy female viagra online

  5. mothers day gift idea - 2019年2月21日 at 06:25 Reply

    Fantastic goods from you, man. I have understand your stuff previous to and you’re just extremely great.
    I really like what you have acquired here, really like what you’re stating and the way in which you
    say it. You make it enjoyable and you still care for
    to keep it smart. I can not wait to read much more from you.
    This is really a terrific web site.

  6. Trusted Medications Online - 2019年2月21日 at 04:07 Reply

    My brother recommended I may like this website. He was once entirely right.
    This post truly made my day. You can not imagine just how so much time I had spent for this information! Thank you!

  7. Albany Towing Service - 2019年2月21日 at 03:54 Reply

    Right away I am ready to do my breakfast, when having my breakfast coming
    over again to read additional news.

  8. android - 2019年2月21日 at 02:53 Reply

    Please let me know if you’re looking for a article
    writer for your site. You have some really great articles and I feel I would be a good asset.
    If you ever want to take some of the load off, I’d love to write some articles for your blog in exchange for a link back
    to mine. Please blast me an email if interested.
    Thank you!

  9. unfspoma - 2019年2月21日 at 02:48 Reply

    [url=http://viaqraonllne.com/#]viagra prescription online[/url] viagra online buy viagra pill online

  10. ntvhaine - 2019年2月21日 at 02:26 Reply

    [url=http://buycialls.com/#]can you buy real cialis online[/url] tadalafil cialis buy cialis in usa

  11. bwRuddy - 2019年2月21日 at 01:02 Reply

    [url=http://genericcilaken.com/#]when will generic cialis be available in the united states[/url] buy tadalafil online when will generic cialis be available in the united states

  12. bwRuddy - 2019年2月21日 at 00:46 Reply

    [url=http://genericcilaken.com/#]generic cialis tadalafil best buys[/url] cialis no prescription generic daily cialis

  13. unfspoma - 2019年2月20日 at 23:31 Reply

    [url=http://viaqraonllne.com/#]buy female viagra online[/url] viagra for sale is buying viagra online legal

  14. ynnSuivy - 2019年2月20日 at 23:20 Reply

    [url=http://onlinecialls.com/#]best online cialis pharmacy reviews[/url] cheapest cialis buy cialis online cheap

  15. useful source - 2019年2月20日 at 23:18 Reply

    It’s going to be end of mine day, however before finish I am reading
    this impressive piece of writing to increase my knowledge.

  16. Jordan 11 retro win like 82 in stores - 2019年2月20日 at 22:43 Reply

    This website is known as a stroll-by way of for all the information you needed about this and didn?t know who to ask. Glimpse right here, and also you?ll undoubtedly uncover it.

Comment pages
1 63 64 65

Leave a Reply

Your email address will not be published.