Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我编写了一个连接到数据库的 Java 应用程序并执行一些数据库 CRUD 工作,但是该应用程序总是在 main 结束时停止并且不退出!
有没有人遇到过类似的问题,您使用什么工具来调试此类问题?
您是否尝试更改设置?
我认为您正在使用 Eclipse 进行调试。如果设置错误,如果抛出未捕获的异常,eclipse 会在 main 结束时停止。
Eclipse\Window\Preferences\Java\Debug\ - 挂起未捕获的异常
I am currently trying to create a pathfinding method for my grid based game based on the A* method algorithm. However I am having a basic problem with manipulating variables within my PathNode class instances