4
I have a big project, how do I follow the flow (step by step)?
I have several classes and have no idea which methods are called, which classes are etc. I put a breakpoint in a point that I know goes through there, in debug mode but then it passes the point and continues the flow normally.
What language and Debugger are using?
– Maniero
@Bigown Intellij and Java
– Daniela Morais
Take a look and tell us if it can help you: https://www.jetbrains.com/idea/help/debugging.html
– Rafael Withoeft
What is the goal? Would it be to understand how the system works (like reverse engineering)? I ask this because the answer from the colleague who suggested to Junity makes sense if your need is, for example, to find out where there is a problem (something closer to debugging that you cite yourself, but that doesn’t explain exactly why it doesn’t serve).
– Luiz Vieira
Assuming I’m right in inferring that you want to understand how the system is structured, maybe it’s easier for you to use some modeling tool that is able to import certain diagrams from code, like the class diagram, and then study the structure of the system in terms of components and classes. Without wanting to do (and already doing) advertising a paid tool, the only one I remember that does very well this is the Enterprise Architect.
– Luiz Vieira
The code works perfectly and I’m only going to refactor, the problem is that the system is huge and is difficult to understand. I will try to transform the class diagram, more readable
– Daniela Morais
A solution instead of paid tools: https://www.jetbrains.com/idea/features/uml_class_diagram.html
– Daniela Morais