📄 intro.so
字号:
m4_comment([$Id: intro.so,v 10.24 2006/11/13 18:05:01 bostic Exp $])m4_ref_title(Debugging Applications, Introduction to debugging, introduction to @debugging, install/multiple, debug/compile)m4_p([dnlBecause m4_db is an embedded library, debugging applications that usem4_db is both harder and easier than debugging a separate server.Debugging can be harder because when a problem arises, it is not alwaysreadily apparent whether the problem is in the application, is in thedatabase library, or is a result of an unexpected interaction betweenthe two. Debugging can be easier because it is easier to track down aproblem when you can review a stack trace rather than decipheringinterprocess communication messages. This chapter is intended to assistyou with debugging applications and reporting bugs to us so that we canprovide you with the correct answer or fix as quickly as possible.])m4_p([dnlWhen you encounter a problem, there are a few general actions you cantake:])m4_tagbeginm4_tag([Review the m4_db error output:], [m4_p([dnlIf an error output mechanism has been configured in the m4_dbenvironment, additional run-time error messages are made available tothe applications. If you are not using an environment, it is well worthmodifying your application to create one so that you can get moredetailed error messages. See m4_link(runtime, Run-time errorinformation) for more information on configuring m4_db to output theseerror messages.])])m4_tag([Review m4_ref(dbenv_set_verbose):], [m4_p([dnlCheck the list of flags for the m4_ref(dbenv_set_verbose) function, andsee if any of them will produce additional information that might helpunderstand the problem.])])m4_tag([Add run-time diagnostics:], [m4_p([dnlYou can configure and build m4_db to perform run-time diagnostics. (Bydefault, these checks are not done because they can seriously impactperformance.) See m4_link(compile, Compile-time configuration) for moreinformation.])])m4_tag([Apply all available patches:], [m4_p([dnlBefore reporting a problem in m4_db, please upgrade to the latest m4_dbrelease, if possible, or at least make sure you have applied any updatesavailable for your release from them4_linkweb(http://www.oracle.com/technology/software/products/berkeley-db/db/index.html, m4_db web site).])])m4_tag([Run the test suite:], [m4_p([dnlIf you see repeated failures or failures of simple test cases, run them4_db test suite to determine whether the distribution of m4_db you areusing was built and configured correctly.])])m4_tagendm4_page_footer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -