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,901 comments to “bug定位总结”

You can leave a reply or Trackback this post.

  1. losing weight - 2019年6月25日 at 14:09 Reply

    When I originally commented I clicked the “Notify me when new comments are added”
    checkbox and now each time a comment is added I get several e-mails
    with the same comment. Is there any way you can remove me from that service?

    Many thanks!

  2. AustCype - 2019年6月25日 at 13:29 Reply

    Iv Zithromax Cialis Zollfrei Cephalexin Side Effects Allergic To Amoxicillin [url=http://cheapviapill.com]viagra[/url] Levitra 10mg Photo Cytotec Vente Ligne

  3. online ticket booking - 2019年6月25日 at 11:37 Reply

    I like the valuable info you provide in your articles.
    I will bookmark your blog and check again here frequently.
    I am quite certain I will learn many new stuff right here! Good luck for the
    next!

  4. AustCype - 2019年6月25日 at 11:03 Reply

    Amoxicillin And Clavulanate Potassium Uses Generika Viagra 25mg [url=http://cialonlinecs.com]cialis 20mg price at walmart[/url] Como Comprar Cialis Online

  5. CharlesLon - 2019年6月25日 at 09:33 Reply

    Lionel Messi has declared that “another Copa begins now” for Argentina after seeing them scrape their way into the quarter-finals.

    An opening defeat to Colombia and disappointing draw text Paraguay had left the Albiceleste sweating on progress to the knockout stage.

    They were, however, to complete their Group B campaign with a welcome 2-0 victory over Qatar.

  6. lsanielqfqbks - 2019年6月25日 at 09:08 Reply

    qgbzlfmsskqw natural viagra [url=http://northwestpharmacyph.com/]viagra professional[/url] viagra soft pills generic cialis sold in canada
    viagra tablet

  7. AustCype - 2019年6月25日 at 07:39 Reply

    Propecia Medication Order Direct Generic Amoxicilina Best Website Medication With Free Shipping Viagra Sans Ordonnances France [url=http://sildenafdosage.com]viagra[/url] Pharmaceutical Products Viagra Cephalexin For Skin Rash

  8. idols - 2019年6月25日 at 06:59 Reply

    Currently it looks like BlogEngine is the best blogging
    platform out there right now. (from what I’ve
    read) Is that what you are using on your blog?

  9. Christian - 2019年6月25日 at 04:04 Reply

    I was able to find good information from your blog posts.

  10. vtghceami - 2019年6月25日 at 02:11 Reply

    [url=http://menedkkr.com/]buy viagra[/url] buy viagra generic viagra

  11. habzAnoxy - 2019年6月24日 at 23:43 Reply

    [url=http://onlineviaqer.com/]generic viagra[/url] viagra generic generic viagra

  12. Maria Elisabeth Bettamio Vivone - 2019年6月24日 at 23:20 Reply

    Write more, thats all I have to say. Literally, it seems
    as though you relied on the video to make your point. You definitely know what youre talking about,
    why waste your intelligence on just posting videos to your weblog when you could be giving us something informative to read?

  13. hosted blog - 2019年6月24日 at 23:12 Reply

    hello there and thank you for your info – I’ve certainly picked up something new from right here.
    I did however expertise some technical points using this
    site, since I experienced to reload the site many
    times previous to I could get it to load correctly.
    I had been wondering if your web hosting is OK? Not that I am
    complaining, but slow loading instances times will often affect your placement in google and could damage your high quality
    score if ads and marketing with Adwords. Anyway I’m adding
    this RSS to my email and could look out for a lot more
    of your respective intriguing content. Make sure you update this
    again soon.

  14. taxiIngeni - 2019年6月24日 at 20:20 Reply

    Главный сервис Яндекс такси даёт возможность вам вызвать автов любую точку города. Сделать заказ авто вы можете несколькими способами: по телефону через оператора, на сайте Яндекс такси, мобильное приложени.. Вам нужно указать собственный телефонный номер, адрес, время когда необходима авто.

    Заказывают Я. такси с детским креслом для перевозки детей, вечером после посиделок безопаснее воспользоваться такси, чем, например, сесть в машину нетрезвым, в аэропорт или на вокзал надёжнее пользоваться Yandex такси и даже не думать где оставить свою автомашину. Платеж производится наличным или безналичным платежом. Время подъезда Yandex такси составляет от 3 до 5 минут ориентировочно.

    Плюсы работы в нашем Я такси: Моментальная регистрация в приложение, Не очень большая комиссия, Оплата мгновенная, Постоянный поток заявок, Диспетчер постоянно на связи.

    Для выполнения работ в Я. такси автовладельцу нужно оформиться самому и транспортное средство, это займёт 5 минут. Комисия агрегатора будет составлять не более 20 % отдохода. Возможно получать зарплату в любое время. У вас постоянно обязательно будут заявки. Если появятсявопросы можно соединиться с круглосуточно функционирующей службой сопровождения. Яндекс такси даёт возможность гражданам очень быстро добраться до места назначения. Заказывая современное Яндекс такси вы приобретаете люксовый сервис в городе.

    работа в такси на своей машине самара : [url=https://centrsnab163.ru]работа в такси на своем авто[/url]

  15. tinyurl.com - 2019年6月24日 at 20:16 Reply

    A monetary advisor is your planning companion.

  16. Bebe - 2019年6月24日 at 20:15 Reply

    Buyers do pay direct and oblique prices.

  17. free v bucks generator - 2019年6月24日 at 19:34 Reply

    Superb, what a blog it is! This weblog gives helpful information to us, keep it up.

  18. pubg mobile emulator macbook pro - 2019年6月24日 at 16:47 Reply

    I was suggested this website by my cousin. I am not sure whether this post is written by him as nobody else know such detailed about my problem. You are incredible! Thanks!

  19. Alvaro Augusto Vidigal - 2019年6月24日 at 16:35 Reply

    It’s hard to find experienced people for this subject, however, you seem like you know
    what you’re talking about! Thanks

  20. rgcfRuddy - 2019年6月24日 at 15:19 Reply

    [url=http://viagraocns.com/]buy generic viagra[/url] viagra online viagra

  21. Socopa Corretora - 2019年6月24日 at 14:16 Reply

    I believe this is among the most important info for me.
    And i’m satisfied studying your article. But should statement on few common things, The website taste is perfect, the articles is truly nice : D.
    Excellent job, cheers

  22. agen bandarq online - 2019年6月24日 at 13:32 Reply

    This article will help the internet users for setting up
    new webpage or even a blog from start to end.

  23. roanielvtujsr - 2019年6月24日 at 12:43 Reply

    hgdvumvgdyhy viagra prescription online [url=http://northwestpharmacyph.com/]order cheap viagra[/url] cialis or generic canada is cialis from canada real
    generic viagra pills

  24. hianielrroult - 2019年6月24日 at 10:15 Reply

    vgnxtfgklfmf canada pharmacy cialis [url=http://northwestpharmacyph.com/]cheapest price viagra[/url] best canadian prescription prices cheap viagra pills canadian drug
    natural viagra alternatives

  25. FranPange - 2019年6月24日 at 10:10 Reply

    Catalogo Levitra Brand Viagra 100mg Cheapest [url=http://cialiviag.com]cialis 5 mg best price usa[/url] Propecia Rabia Viagra Rezeptfrei Kaufen De Maxium Pediatric Amoxil Dose

  26. vtghceami - 2019年6月24日 at 09:14 Reply

    [url=http://menedkkr.com/]generic viagra[/url] cheap viagra cheap viagra

  27. grxvslivA - 2019年6月24日 at 07:19 Reply

    [url=http://sexviagen.com/]buy viagra online[/url] buy generic viagra viagra

  28. Mauricio - 2019年6月24日 at 06:59 Reply

    Thanks to your curiosity in Investment Recommendation.

  29. gnanielbtwvgu - 2019年6月24日 at 06:30 Reply

    krmemcudxuaj how does viagra work [url=http://northwestpharmacyph.com/]cost viagra[/url] what is viagra viagracanadian pharmacy
    viagra canadian

  30. yaanielquhupl - 2019年6月24日 at 05:29 Reply

    aifnksjqigyd cheap cialis from canada [url=http://northwestpharmacyph.com/]free viagra[/url] viagra india canadian pharmacy discount cialis
    cialis from canadian pharmacies

  31. MatStat - 2019年6月24日 at 03:56 Reply

    El Cialis Sirve [url=http://mpphr.com]dapoxetine moins cher[/url] 365 Pills Viagra Prix De Vente Cialis Cheap Viagra Uk

  32. Alvaro Augusto Vidigal - 2019年6月24日 at 01:34 Reply

    It’s a pity you don’t have a donate button! I’d most certainly donate to this superb blog!
    I guess for now i’ll settle for bookmarking and adding your RSS feed to my Google account.

    I look forward to new updates and will share this site with my Facebook group.

    Chat soon!

  33. Casimira - 2019年6月24日 at 01:27 Reply

    Financial advisors enterprise is individuals enterprise.

  34. Fornite Account - 2019年6月23日 at 17:54 Reply

    I think that what you published was very reasonable. However, what about this?
    what if you wrote a catchier title? I am not suggesting
    your content is not good., but suppose you added a headline
    that grabbed a person’s attention? I mean bug定位总结 – Tangtao
    is a little plain. You ought to peek at Yahoo’s front page and note how they write article headlines to grab
    people to click. You might try adding a video or a related picture or two to get people excited
    about everything’ve got to say. In my opinion, it might bring your website
    a little bit more interesting.

  35. Dominoqq Online Terpercaya - 2019年6月23日 at 17:21 Reply

    This is a topic which is close to my heart…
    Cheers! Exactly where are your contact details though?

  36. MatStat - 2019年6月23日 at 15:55 Reply

    Elocon Mastercard Online Free Doctor Consultation [url=http://cialionline.com]canadian pharmacy cialis[/url] Il Cialis E Curativo Il Viagra Funziona Anche Per Le Donne Buy Doxycycline On Line

  37. habzAnoxy - 2019年6月23日 at 15:37 Reply

    [url=http://onlineviaqer.com/]buy viagra[/url] buy viagra online buy viagra

  38. quest bars cheap - 2019年6月23日 at 15:21 Reply

    When I originally left a comment I seem to have clicked on the
    -Notify me when new comments are added- checkbox and now every time a comment is
    added I receive four emails with the exact same comment.

    Is there a way you can remove me from that service? Thank you!

  39. quest bars cheap - 2019年6月23日 at 14:23 Reply

    Spot on with this write-up, I truly feel this website needs a great deal more
    attention. I’ll probably be returning to see more, thanks
    for the info!

  40. quest bars cheap - 2019年6月23日 at 14:05 Reply

    You actually make it seem so easy with your presentation however I find this matter to be really something which
    I feel I might never understand. It kind of feels
    too complex and extremely vast for me. I am looking forward on your next submit,
    I’ll try to get the grasp of it!

  41. Maria Elisabeth Bettamio Vivone - 2019年6月23日 at 13:41 Reply

    Wonderful post however , I was wanting to know if you
    could write a litte more on this topic? I’d be very grateful if you
    could elaborate a little bit further. Kudos!

  42. Banco Paulista SA - 2019年6月23日 at 12:54 Reply

    whoah this weblog is wonderful i really like studying your articles.
    Stay up the great work! You understand, a lot of persons are hunting around for
    this info, you can aid them greatly.

  43. «link» - 2019年6月23日 at 09:54 Reply

    Hi, I do believe this is a great blog. I stumbledupon it 😉
    I may revisit yet again since i have book-marked it. Money and freedom is the greatest way to change, may you be rich and continue to guide others.

  44. https://tinyurl.com - 2019年6月23日 at 09:28 Reply

    That is true for investment advice as well.

  45. Leswoutty - 2019年6月23日 at 08:51 Reply

    Cephalexin 750mg Ebillme Later Viagra Viagra Rembourse Par La Secu [url=http://cthosts.net]cialis 20mg for sale[/url] Mycobacterium Tuberculosis Amoxicillin Glam Celexa Online Prescriptions Clomid Buy India

  46. llanielwqfdtz - 2019年6月23日 at 06:09 Reply

    ygwywptwuhjl cialis pharmacy prices [url=http://northwestpharmacyph.com/]safe generic viagra[/url] free sample of viagra cheapest cialis from canada
    cialis+pharmacy

  47. uvanielcnayqq - 2019年6月23日 at 05:49 Reply

    ggiziqztfqgv generic viagra india [url=http://northwestpharmacyph.com/]generic viagra from canada[/url] canadian pharmacy cialis 20mg buying cialis from canada
    viagra soft

  48. GENPOWER PARTICIPAÇÕES - 2019年6月23日 at 05:46 Reply

    hey there and thank you for your info – I’ve certainly picked up anything new
    from right here. I did however expertise several technical
    issues using this site, since I experienced to reload the web
    site lots of times previous to I could get it to load properly.

    I had been wondering if your web host is OK? Not that I am complaining,
    but sluggish loading instances times will sometimes affect your placement in google and can damage your high-quality score if ads and marketing with Adwords.
    Anyway I’m adding this RSS to my email and could look
    out for a lot more of your respective exciting content.
    Make sure you update this again soon.

  49. Nilo Lemos Neto - 2019年6月23日 at 04:34 Reply

    Hello! I could have sworn I’ve visited this website before but after going through a few of the articles I realized it’s new to me.
    Anyways, I’m definitely happy I came across it and I’ll be
    bookmarking it and checking back frequently!

  50. Ingeni - 2019年6月23日 at 03:40 Reply

    Sorry for making you review this message which is most likely to be taken into consideration by you as spam. Yes, spamming is a poor point.

    On the other hand, the very best way to learn something new, heretofore unknown, is to take your mind off your daily inconveniences and also show interest in a topic that you may have taken into consideration as spam prior to. Right? [url=https://kingswayjewelry.com/]ring set[/url]

    We are a group of young people who have chosen to start our own company as well as make some money like lots of other people on Earth.

    What do we do? We offer our site visitors a vast option of terrific handmade rings. All the rings are made by the ideal craftsmen from throughout the United States.

    Have you ever seen or put on a green opal ring, wood ring, fire opal ring, Damascus ring, silver opal ring, Blue-green ring, blue opal ring, pink ring, meteorite ring, black ring or silver ring? This is just a little component of what you can always locate in our shop.

    Made in the UNITED STATES, our handmade rings are not just beautiful and original gifts for, say, a wedding celebration or birthday celebration, however also your amulet, a thing that will absolutely bring you best of luck in life.

    As settlement for your time spent on reviewing this message, we provide you a 5% price cut on any kind of product you have an interest in.

    We are eagerly anticipating conference you in our store!

Comment pages
1 76 77 78

Leave a Reply

Your email address will not be published.