dlerror以字符串的形式返回任何错误,这些错误信息字符串描述dl函数碰到的最后一个错误。
Any errors are returned in strings, by dlerror, which describe the last error encountered by a dl function.
类似于“将长度和宽度以参数的形式传递给面积和周长,而非在构造函数里指定”这样的错误,可以通过重构来修正。
Mistakes, like passing the length and width as parameters to Area and Perimeter rather than to the constructor, are corrected by refactoring.
在compiling. log文件中查找一个函数的开始地址和结束地址,它是十六进制的形式,其间就包含着错误地址。
Search through the compiling.log file for a function with a starting and ending hexadecimal address that surround the failing address.
在compiling. log文件中查找一个函数的开始地址和结束地址,它是十六进制的形式,其间就包含着错误地址。
Search through the compiling.log file for a function with a starting and ending hexadecimal address that surround the failing address.
应用推荐