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

1,539 comments to “bug定位总结”

You can leave a reply or Trackback this post.

  1. vtdAnoxy - 2019年4月22日 at 00:11 Reply

    [url=http://1cialisehds.com/]how to buy cialis online safely[/url] viagra dosage cialis online canada

  2. http://tinyurl.com/y5m4xv7c - 2019年4月21日 at 23:15 Reply

    Amazing! Its truly remarkable paragraph, I have got much clear idea about from this post.

  3. bfsslivA - 2019年4月21日 at 21:30 Reply

    [url=http://xxxcialisgt.com/]sale cialis online[/url] purchase cialis safest online pharmacy for cialis

  4. Porfirio - 2019年4月21日 at 21:06 Reply

    Attractive section of content. I just stumbled upon your web site and in accession capital to assert that I get in fact enjoyed account your blog
    posts. Anyway I’ll be subscribing to your feeds and even I achievement you
    access consistently quickly.

  5. vtdAnoxy - 2019年4月21日 at 20:17 Reply

    [url=http://1cialisehds.com/]safe place to buy generic cialis online[/url] canada viagra free trial cialis online

  6. vtdAnoxy - 2019年4月21日 at 19:39 Reply

    [url=http://1cialisehds.com/]cialis online pharmacy canada[/url] buy cheap generic viagra where to buy cheap cialis online

  7. Everything you should know - 2019年4月21日 at 17:38 Reply

    Quality content is the crucial to interest the visitors to pay a quick visit the web site, that’s what this site is
    providing.

  8. Elvera - 2019年4月21日 at 17:35 Reply

    You should be a part of a contest for one of the most useful blogs on the net.

    I will highly recommend this website!

  9. tinyurl.com - 2019年4月21日 at 17:03 Reply

    It’s awesome to visit this web site and reading the views of all friends on the topic of
    this post, while I am also eager of getting know-how.

  10. tinyurl.com - 2019年4月21日 at 14:11 Reply

    Yes! Finally something about ig.

  11. porn online - 2019年4月21日 at 13:27 Reply

    I’ve been exploring for a bit for any high quality articles or blog posts on this
    sort of space . Exploring in Yahoo I ultimately stumbled upon this
    website. Reading this information So i am happy to show that I’ve an incredibly excellent uncanny feeling
    I found out exactly what I needed. I most unquestionably will
    make sure to don?t omit this website and provides it a look regularly.

  12. Joni - 2019年4月21日 at 13:23 Reply

    Thank you for sharing your info. I truly appreciate your efforts and I am waiting for your further write ups
    thank you once again.

  13. minecraft - 2019年4月21日 at 12:24 Reply

    This blog was… how do you say it? Relevant!! Finally I’ve found something
    which helped me. Thank you!

  14. Roxana - 2019年4月21日 at 11:47 Reply

    I’m not that much of a online reader to be honest but your blogs really
    nice, keep it up! I’ll go ahead and bookmark your website to come back in the future.
    Many thanks

  15. tinyurl.com - 2019年4月21日 at 01:37 Reply

    I like what you guys are usually up too.
    This sort of clever work and coverage! Keep up the amazing works guys I’ve you guys to my blogroll.

  16. juridiska annonser - 2019年4月21日 at 01:06 Reply

    Great beat ! I wish to apprentice at the same time as you amend your site,
    how can i subscribe for a weblog site? The account helped me a
    appropriate deal. I were a little bit acquainted of this your broadcast
    offered brilliant transparent concept

  17. energy star sticker - 2019年4月20日 at 21:38 Reply

    I was very pleased to discover this web site.

    I want to to thank you for your time just for this wonderful read!!
    I definitely loved every bit of it and I have you bookmarked to look at new things on your website.

  18. Louella - 2019年4月20日 at 19:55 Reply

    Hey very cool site!! Man .. Excellent .. Wonderful .. I will
    bookmark your site and take the feeds also? I am
    happy to seek out numerous helpful info here within the publish, we need develop more techniques in this regard, thank you for sharing.
    . . . . .

  19. http://tinyurl.com/ - 2019年4月20日 at 19:42 Reply

    Thanks for sharing your thoughts about ig. Regards

  20. http://tinyurl.com/y5dcz78z - 2019年4月20日 at 19:11 Reply

    This website definitely has all the information and facts I
    needed concerning this subject and didn’t know who to ask.

  21. Regan - 2019年4月20日 at 19:03 Reply

    Excellent blog you’ve got here.. It’s difficult to find high quality writing like yours these days.
    I honestly appreciate individuals like you! Take care!!

  22. http://tinyurl.com/y4x3hkkh - 2019年4月20日 at 17:47 Reply

    fantastic submit, very informative. I’m wondering why the
    opposite specialists of this sector don’t realize this. You must continue your writing.
    I am confident, you’ve a huge readers’ base already!

  23. tinyurl.com - 2019年4月20日 at 17:15 Reply

    Hello there! This is my 1st comment here so I just wanted to
    give a quick shout out and say I really enjoy reading through your posts.
    Can you recommend any other blogs/websites/forums that go over the same topics?
    Thanks!

  24. day trading - 2019年4月20日 at 17:05 Reply

    This piece of writing is genuinely a nice one it assists new net users, who are wishing in favor of blogging.

  25. Trudy - 2019年4月20日 at 16:31 Reply

    I know this website provides quality dependent articles or reviews and additional
    material, is there any other website which offers these kinds
    of information in quality?

  26. tactical investing strategies - 2019年4月20日 at 13:56 Reply

    I really like looking through a post that can make men and women think.
    Also, thank you for allowing for me to comment!

  27. Humberto - 2019年4月20日 at 13:48 Reply

    I am really loving the theme/design of your weblog. Do you ever run into
    any browser compatibility problems? A handful of my blog visitors have
    complained about my website not working correctly in Explorer but
    looks great in Firefox. Do you have any tips
    to help fix this issue?

  28. tinyurl.com - 2019年4月20日 at 13:45 Reply

    I have read a few excellent stuff here. Definitely price bookmarking for revisiting.
    I surprise how so much attempt you put to make such a great
    informative web site.

  29. tinyurl.com - 2019年4月20日 at 13:35 Reply

    If some one wants expert view concerning blogging after that i suggest him/her to pay a visit this weblog, Keep up the good job.

  30. http://tinyurl.com/yyd8obm2 - 2019年4月20日 at 11:26 Reply

    Great weblog right here! Also your website
    rather a lot up very fast! What web host are you the usage of?
    Can I am getting your affiliate link to your host?
    I desire my website loaded up as fast as yours lol

  31. minecraft - 2019年4月20日 at 10:14 Reply

    Hey I am so happy I found your site, I really found
    you by error, while I was searching on Digg for something else,
    Regardless I am here now and would just like to say
    thanks a lot for a fantastic post and a all round interesting blog (I also love the theme/design), I don’t have time to
    go through it all at the minute but I have bookmarked it and also included your RSS
    feeds, so when I have time I will be back to read a lot more, Please
    do keep up the awesome work.

  32. navigate to these guys - 2019年4月20日 at 10:10 Reply

    Hello are using WordPress for your blog platform?
    I’m new to the blog world but I’m trying to get started and set up my own. Do you need any html coding expertise to make
    your own blog? Any help would be greatly appreciated!

  33. Muriel - 2019年4月20日 at 09:51 Reply

    I all the time used to read post in news papers but now as I
    am a user of web therefore from now I am using net for content, thanks to web.

  34. 增大网 - 2019年4月20日 at 09:12 Reply

    活到老,学到老,认真拜读咯!

  35. why not find out more - 2019年4月20日 at 08:43 Reply

    Greetings! This is my 1st comment here so I just wanted to give a quick shout out
    and say I genuinely enjoy reading through your blog posts.
    Can you suggest any other blogs/websites/forums that cover the same subjects?
    Thanks for your time!

  36. green energy technology - 2019年4月20日 at 07:47 Reply

    For the reason that the admin of this website is working, no doubt very soon it will be well-known, due to its quality contents.

  37. Umanizzare - 2019年4月20日 at 07:09 Reply

    Hello! I’m at work browsing your blog from my new iphone!

    Just wanted to say I love reading your blog and look forward
    to all your posts! Keep up the fantastic work!

  38. Fernanda Lara Tórtima - 2019年4月20日 at 07:01 Reply

    Hi there, all is going sound here and ofcourse every
    one is sharing data, that’s in fact good, keep up writing.

Comment pages
1 29 30 31

Leave a Reply

Your email address will not be published.