久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <small id='5Nymi'></small><noframes id='5Nymi'>

      <legend id='5Nymi'><style id='5Nymi'><dir id='5Nymi'><q id='5Nymi'></q></dir></style></legend><tfoot id='5Nymi'></tfoot>

    1. <i id='5Nymi'><tr id='5Nymi'><dt id='5Nymi'><q id='5Nymi'><span id='5Nymi'><b id='5Nymi'><form id='5Nymi'><ins id='5Nymi'></ins><ul id='5Nymi'></ul><sub id='5Nymi'></sub></form><legend id='5Nymi'></legend><bdo id='5Nymi'><pre id='5Nymi'><center id='5Nymi'></center></pre></bdo></b><th id='5Nymi'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='5Nymi'><tfoot id='5Nymi'></tfoot><dl id='5Nymi'><fieldset id='5Nymi'></fieldset></dl></div>

          <bdo id='5Nymi'></bdo><ul id='5Nymi'></ul>

        如何知道導致異常的確切代碼行?

        How to know the exact line of code where an exception has been caused?(如何知道導致異常的確切代碼行?)

          <legend id='7Wnjb'><style id='7Wnjb'><dir id='7Wnjb'><q id='7Wnjb'></q></dir></style></legend>
            <bdo id='7Wnjb'></bdo><ul id='7Wnjb'></ul>
            • <i id='7Wnjb'><tr id='7Wnjb'><dt id='7Wnjb'><q id='7Wnjb'><span id='7Wnjb'><b id='7Wnjb'><form id='7Wnjb'><ins id='7Wnjb'></ins><ul id='7Wnjb'></ul><sub id='7Wnjb'></sub></form><legend id='7Wnjb'></legend><bdo id='7Wnjb'><pre id='7Wnjb'><center id='7Wnjb'></center></pre></bdo></b><th id='7Wnjb'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='7Wnjb'><tfoot id='7Wnjb'></tfoot><dl id='7Wnjb'><fieldset id='7Wnjb'></fieldset></dl></div>
                <tfoot id='7Wnjb'></tfoot>
                  <tbody id='7Wnjb'></tbody>

                  <small id='7Wnjb'></small><noframes id='7Wnjb'>

                1. 本文介紹了如何知道導致異常的確切代碼行?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  如果我自己生成異常,我可以在異常中包含任何信息:代碼行數和源文件名稱.像這樣:

                  If I generate an exception on my own, I can include any info into the exception: a number of code line and name of source file. Something like this:

                  throw std::exception("myFile.cpp:255");
                  

                  但是未處理的異常或非我生成的異常怎么辦?

                  But what's with unhandled exceptions or with exceptions that were not generated by me?

                  推薦答案

                  似乎每個人都在努力改進您的代碼以在您的代碼中拋出異常,而沒有人嘗試解決您提出的實際問題.

                  It seems everyone is trying to improve your code to throw exceptions in your code, and no one is attempting the actual question you asked.

                  那是因為做不到.如果引發異常的代碼僅以二進制形式呈現(例如在 LIB 或 DLL 文件中),那么行號就消失了,并且無法將對象連接到源代碼中的一行.

                  Which is because it can't be done. If the code that's throwing the exception is only presented in binary form (e.g. in a LIB or DLL file), then the line number is gone, and there's no way to connect the object to to a line in the source code.

                  這篇關于如何知道導致異常的確切代碼行?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  In what ways do C++ exceptions slow down code when there are no exceptions thown?(當沒有異常時,C++ 異常會以何種方式減慢代碼速度?)
                  Why catch an exception as reference-to-const?(為什么要捕獲異常作為對 const 的引用?)
                  When and how should I use exception handling?(我應該何時以及如何使用異常處理?)
                  Scope of exception object in C++(C++中異常對象的范圍)
                  Catching exceptions from a constructor#39;s initializer list(從構造函數的初始化列表中捕獲異常)
                  Difference between C++03 throw() specifier C++11 noexcept(C++03 throw() 說明符 C++11 noexcept 之間的區別)
                  <tfoot id='8tBFI'></tfoot>

                      <tbody id='8tBFI'></tbody>
                    1. <i id='8tBFI'><tr id='8tBFI'><dt id='8tBFI'><q id='8tBFI'><span id='8tBFI'><b id='8tBFI'><form id='8tBFI'><ins id='8tBFI'></ins><ul id='8tBFI'></ul><sub id='8tBFI'></sub></form><legend id='8tBFI'></legend><bdo id='8tBFI'><pre id='8tBFI'><center id='8tBFI'></center></pre></bdo></b><th id='8tBFI'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='8tBFI'><tfoot id='8tBFI'></tfoot><dl id='8tBFI'><fieldset id='8tBFI'></fieldset></dl></div>

                          <small id='8tBFI'></small><noframes id='8tBFI'>

                          • <bdo id='8tBFI'></bdo><ul id='8tBFI'></ul>
                            <legend id='8tBFI'><style id='8tBFI'><dir id='8tBFI'><q id='8tBFI'></q></dir></style></legend>

                          • 主站蜘蛛池模板: 午夜爽爽男女免费观看hd | www.亚洲一区| 国产在线aa | 天天躁日日躁狠狠很躁 | 欧美男人天堂 | 国产一区二区三区视频 | www.99热这里只有精品 | 97av视频 | 国产欧美日韩一区二区三区在线观看 | av网站在线看 | 丁香色婷婷 | 国产h在线 | 2019中文字幕视频 | 中文字幕视频在线 | 一级在线观看 | 请别相信他免费喜剧电影在线观看 | 99免费精品视频 | 亚洲国产一区二区三区在线观看 | 国产99久久精品一区二区300 | 欧美激情精品久久久久久 | 亚洲成人精品一区 | 成人午夜网站 | 亚洲精品天堂 | 91高清在线 | 日韩第一夜 | 一级片视频免费观看 | 第一区在线观看免费国语入口 | 欧美福利久久 | 精品一区二区三 | 草草影院ccyy | 国产一区二区三区四区hd | 男女视频在线观看 | 蜜臀av日日欢夜夜爽一区 | 久久久久精 | 91精品国产色综合久久不卡蜜臀 | 日韩av一区二区在线观看 | 午夜精品久久久久久久99黑人 | 成人性生交大免费 | 欧美aaaaaaaa | 欧美激情欧美激情在线五月 | 日韩三区|