AnsweredAssumed Answered

How to debug custom assertion ?

Question asked by Michael Mueller Employee on May 23, 2018
Latest reply on May 23, 2018 by Michael Mueller

Hi Team.

 

I'm currently developing a custom assertion, and running into some trouble.

 

What is the best approach to debug my code?

Is it possible to influence the java runtime parameters of the gateway to activate remote debug capabilities, so that I would be able to debug my assertion remotely in my eclipse environment?

Or are there different approaches for debugging.

I'm currently running into a null pointer exception when the assertion gets executed, and I have no idea where this might come from. So it would be of great help to debug the code step by step.

 

Another approach would be to enrich my code with logging statements to be able to follow the code execution. But I did not find  specific hints regarding logging from within  a custom assertion.

 

Any hint/suggestion/help is welcome

Regards

..........Michael

Outcomes