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.
私は Jrules と ODM を使用しています。null ポインターが原因で評価の 1 つが失敗しました。失敗した特定の条件を知りたいです。
これどうやってするの?Jrules のチュートリアルでは、アクション部分でデバッグ ポイントを設定することが示されていますが、評価 (if...) 部分では示されていません。 どの特定の条件 (評価) が失敗したかを特定できるように、条件ごとにステップする直接的な方法はありますか?
各ルールの initialaction と finalaction にいくつかの print ステートメントを入れることで、アクションをデバッグできます。
initialaction{ System.err.println("Debug here"+variable); };