Debugging RQM JUnit Selenium Adatper
![]() I'm trying to debug the adapter from Eclipse. The challenge is that the adapter spawns a new java process to execute the test. Is there a way to debug/step through the process that was spawned? The best I've been able to do so far is to invoke (and debug) that Java process separately, but that doesn't give me what I really want, which is to be able to debug the entire process (from start to finish) of the adapter receiving the execution request, executing the test and then doing everything after the execution of the test completes.
|
2 answers
![]() You can put breakpoint in every thread. If it is library code, you may not be able to debug it. |
![]() It's not that simple. I figured it out. You can't just put a breakpoint since the JUnit test runs in a separate process (created with ProcessBuilder), not a separate thread in the command line adapter's 'main' process. You need to create a remote debug connection to the process that runs the JUnit tests.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.