{"id":182238,"date":"2013-06-05T16:41:02","date_gmt":"2013-06-05T12:41:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=182238"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=182238","title":{"rendered":"<span class=\"post_title\">\u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u00abif\u00bb \u0432 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u0435 Visual Studio \u043e\u0442 BugAid<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u041f\u043e \u0441\u043b\u0435\u0434\u0430\u043c \u043f\u043e\u0441\u0442\u0430 <a href=\"http:\/\/habrahabr.ru\/post\/181604\/\">\u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u043f\u0438\u0441\u043a\u043e\u0432 \u0432 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u0435 Visual Studio \u0438\u043b\u0438 \u043d\u043e\u0432\u043e\u0435 \u0441\u043b\u043e\u0432\u043e \u043e\u0442 \u00abBugAid For Visual Studio\u00bb<\/a>, \u0447\u0442\u043e \u0431\u044b \u0447\u0438\u0441\u0442\u043e \u0434\u043e\u0431\u0438\u0442\u044c \u0442\u0435\u043c\u0443, \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f <a href=\"http:\/\/www.bugaidsoftware.com\/\">BugAid<\/a> \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0435 if.<\/p>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c \u0435\u0441\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a\u043e\u0439 \u043a\u043e\u0434:  <\/p>\n<pre><code class=\"cs\">           if (IsError1() || IsError2())             {                 \/\/ \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043e\u0448\u0438\u0431\u043a\u0438                 \/\/ ...             } <\/code><\/pre>\n<p>  \u0438 \u0447\u0430\u0441\u0442\u043e \u0432 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442 \u0445\u043e\u0447\u0435\u0442 \u0437\u043d\u0430\u0442\u044c \u043a\u0430\u043a\u0430\u044f \u0438\u043c\u0435\u043d\u043d\u043e \u043e\u0448\u0438\u0431\u043a\u0430 \u0431\u044b\u043b\u0430 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0430: \u0438\u043d\u044b\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438 \u043a\u0430\u043a\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0432\u0435\u0440\u043d\u0443\u043b\u0430 <b>true<\/b>, \u0430 \u043a\u0430\u043a\u0430\u044f <b>false<\/b>.<br \/>  \u041c\u043e\u0436\u043d\u043e \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u043a\u043b\u0438\u043a\u043d\u0443\u0442\u044c \u043d\u0430 \u0432\u044b\u0437\u043e\u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043e\u0442\u043a\u0440\u044b\u0442\u044c QuickWatch \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/ccc\/72f\/6a2\/ccc72f6a2453dc8d9236d598b9440a5a.png\"\/><br \/>  \u0430 \u043f\u043e\u0442\u043e\u043c \u0434\u043e\u0431\u0438\u0432\u0438\u0442\u044c \u0441\u043a\u043e\u0431\u043e\u0447\u043a\u0438<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/86f\/aee\/6f7\/86faee6f7a2a5a028e935599dee8ac3e.png\"\/><br \/>  \u0438\u0442\u043e\u0433\u043e \u044f \u043d\u0430\u0441\u0447\u0438\u0442\u0430\u043b 6 \u043d\u0430\u0436\u0430\u0442\u0438\u0439.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0442\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f.<br \/>  \u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435: \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0434\u043e\u043b\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 &quot;<b>Full mode<\/b>&quot; \u0440\u0435\u0436\u0438\u043c\u0435 (\u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u043c\u0435\u043d\u044e).<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/aba\/7d8\/ca1\/aba7d8ca1611d6fda855184aa1265af7.png\"\/><\/p>\n<p>  \u0432\u0441\u0435\u0433\u043e 2 \u043d\u0430\u0436\u0430\u0442\u0438\u044f (\u0437\u0430 \u0441\u0447\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u043a\u043e\u0431\u043e\u043a)!<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435, \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u043c \u0441\u0442\u0440\u043e\u043a\u0443 c if \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b <b>\u00abStep Over (F10)\u00bb<\/b>, \u043f\u043e\u044f\u0432\u043b\u044f\u0442\u0441\u044f \u0438\u043a\u043e\u043d\u043a\u0430 \u0436\u0443\u0447\u043a\u0430.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/91b\/a2c\/c64\/91ba2cc649dd635f6ae2c085382e5d9b.png\"\/><\/p>\n<p>  \u043a\u043b\u0438\u043a\u0430\u0435\u043c \u043d\u0430 \u0438\u043a\u043e\u043d\u043a\u0443 \u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/779\/3d0\/41d\/7793d041d193f1d69e5b5e7d8635027b.png\"\/><\/p>\n<p>  \u043a\u043b\u0438\u043a\u0430\u0435\u043c \u043d\u0430 \u0441\u0442\u0440\u0435\u043b\u043e\u0447\u043a\u0443 \u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u0432 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0434\u0440\u0443\u0433\u043e\u0439 \u0444\u043e\u0440\u043c\u0435:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/04b\/d06\/af1\/04bd06af16410a21893c655457082697.png\"\/><\/p>\n<p>  \u0432\u0441\u0435 \u0442\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0438 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/5b4\/ecc\/d53\/5b4eccd53855db5633783a95b1bc0dea.png\"\/><br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f13\/5f6\/7ad\/f135f67ad8d90d719aa05230aa37831d.png\"\/><br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/335\/c1b\/e4e\/335c1be4ecf7454fb84a0151c512ce4e.png\"\/><\/p>\n<p>  \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0443\u0441\u043b\u043e\u0436\u043d\u044f\u0435\u043c (\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438):  <\/p>\n<pre><code class=\"cs\">bool errorFound = IsError1(xcode) || IsError2(ycode); <\/code><\/pre>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/ecf\/f35\/496\/ecff354969845a9b495f6a6bbbc7dea3.png\"\/><\/p>\n<p>  <a href=\"http:\/\/www.bugaidsoftware.com\/2011\/11\/tips-for-using-statement-visualization\/\">\u043d\u0443 \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435<\/a>.<\/p>\n<p>  \u043a\u0430\u043a \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0432\u0441\u0435 \u044d\u0442\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <b>\u00abCLR profiler API\u00bb<\/b>.<\/p>\n<p>  \u0441\u043f\u0430\u0441\u0438\u0431\u043e,<br \/>  \u0418\u0433\u043e\u0440\u044c.    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/182238\/\"> http:\/\/habrahabr.ru\/post\/182238\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u041f\u043e \u0441\u043b\u0435\u0434\u0430\u043c \u043f\u043e\u0441\u0442\u0430 <a href=\"http:\/\/habrahabr.ru\/post\/181604\/\">\u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u043f\u0438\u0441\u043a\u043e\u0432 \u0432 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u0435 Visual Studio \u0438\u043b\u0438 \u043d\u043e\u0432\u043e\u0435 \u0441\u043b\u043e\u0432\u043e \u043e\u0442 \u00abBugAid For Visual Studio\u00bb<\/a>, \u0447\u0442\u043e \u0431\u044b \u0447\u0438\u0441\u0442\u043e \u0434\u043e\u0431\u0438\u0442\u044c \u0442\u0435\u043c\u0443, \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f <a href=\"http:\/\/www.bugaidsoftware.com\/\">BugAid<\/a> \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0435 if.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-182238","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/182238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=182238"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/182238\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=182238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=182238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=182238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}