I am debugging a java source using jdb.(back to old days). Well while going through it in order to see the source I do . But, unfortunately it only shows me a set of 10 lines. Can anybody please guide me is it possible to increase the number of lines to be shown by list command? And if yes then please guide me how to do it.
First, a bit of business: you may not have read our naming policy on the way in. It requires that you use a full, real (sounding) first and last name for your display name. A single name isn't enough. You can change your display name here. Thanks for your immediate attention.
Now, as to your question: you can give a line number as an argument to "list", and it will print ten lines surrounding that numbered line. But otherwise, I don't believe there's a way to show more than ten lines at once.