A
A
Anton2018-02-15 20:05:36
Java
Anton, 2018-02-15 20:05:36

As with rem. debug test a single piece of code in IntelliJ IDEA?

I have a method in my code that nobody calls. How do I run it while debugging?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
mipan, 2018-02-15
@Anton238

Actually, if there is a class instance containing a method, then in debug mode you can run Evaluate Expression (Alt + F8) and call the method there and see the result.

R
RidgeA, 2018-02-15
@RidgeA

make it run

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question