{"id":176879,"date":"2020-10-17T22:25:02","date_gmt":"2020-10-17T14:25:02","guid":{"rendered":"http:\/\/4563.org\/?p=176879"},"modified":"2020-10-17T22:25:02","modified_gmt":"2020-10-17T14:25:02","slug":"pycharm-%e7%9a%84-debug%ef%bc%8c%e8%83%bd%e4%b8%8d%e8%83%bd-%e4%b8%8d%e6%89%93%e6%96%ad%e7%82%b9%e5%8e%bb-step-by-step%ef%bc%8c%e8%80%8c%e5%ae%9e%e6%97%b6%e7%9f%a5%e9%81%93%e5%9c%a8%e5%93%aa%e4%b8%80","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=176879","title":{"rendered":"PyCharm \u7684 DEBUG\uff0c\u80fd\u4e0d\u80fd \u4e0d\u6253\u65ad\u70b9\u53bb step by step\uff0c\u800c\u5b9e\u65f6\u77e5\u9053\u5728\u54ea\u4e00\u6b65\u5417\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  PyCharm \u7684 DEBUG\uff0c\u80fd\u4e0d\u80fd \u4e0d\u6253\u65ad\u70b9\u53bb step by step\uff0c\u800c\u5b9e\u65f6\u77e5\u9053\u5728\u54ea\u4e00\u6b65\u5417\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : pppguest3962 <\/span>  <span><i><\/i> 2<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u7a0b\u5e8f\u662f\u6d41\u7a0b\u5f0f\u6267\u884c\u7684\uff0c\u5197\u957f\u7684\u6837\u5b50\u5c31\u4e0d\u8bf4\u4e86\uff0c<br \/> \u5927\u6982\u77e5\u9053\u662f\u54ea\u4e2a\u533a\u95f4\u73af\u8282\u6b7b\u5faa\u73af\uff08\u5047\u6b7b\uff09\uff0c\u4f46\u662f\u3002\u3002\u3002\u3002\u3002\uff08\u8fd9\u91cc\u7701\u7565\uff09<br \/> \u5927\u6982\u4f4d\u7f6e\u6253\u4e86\u4e2a\u65ad\u70b9\uff0c\u7136\u540e\u4e0b\u4e00\u6b65\u70b9\u5230\u624b\u6307\u90fd\u4e0d\u8212\u670d\u4e86\uff0c\u8fd8\u662f\u6ca1\u80fd\u5230\u90a3\u4e00\u6b65\u3002\u3002\u3002<br \/> \u8bf7\u95ee PyCharm \u5e94\u8be5\u5982\u4f55\u64cd\u4f5c\uff0c\u4e0d\u6253\u65ad\u70b9\uff0c\u5728\u51fa\u73b0\u5047\u6b7b\u7684\u65f6\u5019\uff0c\u80fd\u591f\u5b9e\u65f6\u77e5\u9053\u73b0\u5728\u5728\u54ea\u4e2a\u8bed\u53e5\u4f4d\u7f6e\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>11<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3906035\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : janus77 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             2 \u5206\u67e5\u627e\u6cd5\u4e86\u89e3\u4e00\u4e0b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3906036\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tempdban <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4f60 print \u5927\u6cd5\u4e0d\u5c31\u77e5\u9053\u4e86\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3906037\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jerome233 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ef\u4ee5\u4f7f\u7528 Step Into My Code, \u4e0d\u7528\u624b\u52a8\u6807\u8bb0\u65ad\u70b9\u4f4d\u7f6e, \u53ea\u5728\u81ea\u5df1\u7684\u670d\u52a1\u4ee3\u7801\u5185\u8df3\u8f6c, \u4e0d\u8d70\u6807\u51c6\u5e93 \/\u4e09\u65b9\u5e93\u7684\u4ee3\u7801, \u6309\u5feb\u6377\u952e\u4e00\u4f1a\u5c31\u4f1a\u5b9a\u4f4d\u5230\u6b7b\u5faa\u73af\u7684\u4ee3\u7801\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3906038\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : nifury <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ef\u4ee5\u5f3a\u884c pause \u7684\u5427\uff0c\u7136\u540e\u770b\u4e0b\u8c03\u7528\u6808\u5c31\u77e5\u9053\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3906039\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : iConnect <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5148\u8089\u773c\u4f30\u6478\u51fa\u9519\u53ef\u80fd\u6027\u6bd4\u8f83\u5927\u7684\u533a\u57df\uff0cprint \u51e0\u4e2a\u503c\u548c\u7c7b\u578b\u51fa\u6765\uff0c\u57fa\u672c\u4e0a\u6293\u51e0\u8f6e\u4e0b\u6765\u5c31\u80fd\u5b9a\u4f4d\u51c6\u4e86\u3002\u751f\u4ea7\u73af\u5883\u624d\u662f\u6bd4\u8f83\u9ebb\u70e6\u7684\uff0c\u57fa\u672c\u4e0a\u8981\u53bb\u627e\u65e5\u5fd7\u770b\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3906040\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : pppguest3962 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @nifury \u7684\u786e\u662f\uff0c\u6211 pause \u4e0b\u6765\u4e86\uff0c\u4f46\u770b\u5230\u7684\u4f4d\u7f6e\u662f\u81ea\u5e26\u5e93\u91cc\u9762\u7684\u4e00\u6bb5\u4f4d\u7f6e\uff0c\u6211\u8bd5\u7740\u6309\u4e86 DEBUG \u83dc\u5355\u4e0a\u7684\u6b65\u51fa\uff0c\u6b65\u5165\u51e0\u4e2a option\uff0c\u4e5f\u6ca1\u80fd\u53d1\u73b0\uff0c\u81ea\u5df1\u7684\u7a0b\u5e8f\u662f\u54ea\u4e00\u884c\u53ec\u5524\u5230\u8fd9\u4e2a\u4f4d\u7f6e\u7684\u3002\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3906041\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : TimePPT <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             PySnooper &#8211; Never use print https:\/\/github.com\/cool-RR\/PySnooperfor debugging again                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3906042\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : TimePPT <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             https:\/\/github.com\/cool-RR\/PySnooper<br \/>PySnooper &#8211; Never use print for debugging again                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3906043\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : nifury <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @pppguest3962 #6 \u554a\u8fd9\uff0c\u5de6\u4e0b\u89d2\u4e0d\u662f\u6709\u8c03\u7528\u6808\u4e48\uff0c\u7ffb\u4e00\u7ffb\u5c31\u80fd\u770b\u5230\u7a0b\u5e8f\u8c03\u7528\u7684\u5730\u65b9\u4e86\u5440                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3906044\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : k3Sv1 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u5728\u9677\u5165\u5faa\u73af\u7684\u65f6\u5019 pause \u6216\u8005\u76f4\u63a5\u4e2d\u65ad\u4e0d\u5c31\u80fd\u770b\u5230\u8c03\u7528\u6808\u4e86\u5417                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3906045\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : no1xsyzy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5de6\u4e0b\u8c03\u7528\u6808\u4f1a\u7528\u989c\u8272\u533a\u5206\u4f60\u7684\u4ee3\u7801\u548c\u5916\u90e8\u5e93\u7684\u4ee3\u7801\u7684\u2026\u2026 \u8fd8\u662f\u7528 ignore \u7684\u989c\u8272\u663e\u793a .gitignore \u6389\u7684\u4ee3\u7801\uff1f\u6ca1\u6709\u5728 .gitignore \u4ee5\u5916\u7528\u8fc7\u7b2c\u4e09\u65b9\u5e93\u6240\u4ee5\u4e0d\u77e5\u9053\u2026\u2026<br \/>\u81f3\u4e8e\u8fdb C \u7684\u60c5\u51b5\u76f4\u63a5\u663e\u793a Frame \u4e0d\u53ef\u7528\u3002<br \/>\u800c\u4e14\u53ef\u4ee5\u8df3\u5230\u4efb\u4f55\u4e00\u5c42\u8c03\u7528\u6808\u770b\u53d8\u91cf\u548c\u8fdb Console \u6267\u884c\u4ee3\u7801\u2026\u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>PyCharm \u7684 DEBUG\uff0c\u80fd&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/176879"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=176879"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/176879\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=176879"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=176879"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=176879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}