Is there a way to start jdb and attach from the beginning a list of breakpoints?
Something along the line of jdb -<?some_flag?> ./breakpoints Main
It is trully tedious entering these breakpoints manually upon starting a new debugging session, and I am sure there must be a way. The documentation does not make it clear that such a thing exists.
I have figured it out with the use of:
The read
command reads all the commands that jdb
needs from a specified file. In this file one can write all the breakpoints and commands before starting jdb.
So this is the workflow I have now:
.jdbrc
in my Home folder that contains 1 lineread break.lines
break.lines
where I define all my breaks prior to running JDB