是否可以动态(在调试时)更改库方法的返回值。
public String libraryMethod throws LibraryException() {
#When I enter here while debugging
# I want to return a different value from
# what library is going to return
# or throw an exception which library might have thrown
# under different circumstances
...
}
如果有帮助,我正在使用 Intellij IDEA 作为 ide。
是否有可能在不编辑库的源代码的情况下全部(或任何)