Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Step into project classes while debugging

Is it possible to tell Idea step into only project classes (package com.myproject.*). I know that I can tell Idea exclude packages by pattern (*) but it's too inconvenient to write all possible packages except mine.

updated
After excluding all possible packages Intellij doesn't step into functions of the same class. It look like while stepping in function it meets proxy class with excluded package and ignores all functions called by this proxy (including my function)

like image 677
fedor.belov Avatar asked Mar 28 '12 12:03

fedor.belov


People also ask

What is step into and step over in debugging?

Ans: Step Into: Step Into is used for debugging the test steps line by line. When the procedure gets called, Step Into enables you to get inside the procedure and debugs the procedure steps line by line. Step Over: Step Over will enable, only after the debugging is started with Step Into / Run From Step / Run to Step.

What is usually the first step in debugging a program?

Logging your code in the console is the most basic way of debugging and the first one we learn to use as devs. The idea is to print the value of variables, functions, inputs and outputs to check the logic we have in our mind against what is really happening in our code.


1 Answers

It's not possible right now, please vote for the related issue.

like image 88
CrazyCoder Avatar answered Sep 23 '22 02:09

CrazyCoder