What to do when debugging "Source not found"

I'm a fledgling engineer developing with springboot in eclipse. It is about the solution of the error that came out when trying to debug while investigating the method.

Situation / cause

I set a breakpoint and started debugging.

If you think you stopped at a breakpoint, in red The message "Source not found" was displayed.

The cause was that the source lookup path didn't include the project I was running.

Solution

--Inverted triangle click next to the bug-like mark in the debug area

-→ Debug Configuration → Go to Source

-→ Press "Add" in the source look path to add the Java project you are using

I have successfully resolved this. try it.

Recommended Posts

What to do when debugging "Source not found"
What to do when Method not found in f: ajax
What to do when javax.batch.operations.JobStartException occurs
What to do when a javax.el.PropertyNotWritableException occurs
What to do when undefined method ʻuser_signed_in?'
What to do when the changes in the Servlet are not reflected
[Rails] What to do when rails s does not respond or does not stop
What do you use when converting to String?
What to do when IllegalStateException occurs in PlayFramework
What to do when rails db: seed does not reflect in the database
[Grails] Error occurred running What to do when the Grails CLI does not start
What to do when is invalid because it does not start with a'-'
What to do when The SSL certificate has expired
What to do if ClassNotFoundException occurs when starting Tomcat
What to do when a null byte error occurs
What to do when rails creates a 〇〇 2.rb file
Error ExecJS :: RuntimeUnavailable: What to do when it occurs
ParseException: What to do when Unparseable date is reached
What to do when routing settings do not work after building Docker environment with Laravel
What to do if the breakpoint is shaded and does not stop during debugging
What to do when it becomes Unable to find CDI BeanManager.
What to do when you launch an application with rails
What to check when rails db: migration does not pass
What to do if FacesMessage is set but not displayed
What to do when Cannot apply expression operators to method binding
What to do when a could not find driver appears when connecting to a DB in a Docker environment
Bluemix Infrastructure VPN does not connect because it does not support NPAPI! What to do when [Mac]
What to do when Rails on Docker does not reflect controller changes in the browser
What to do after Vagrant install
[Ubuntu 20.04] What to do if the external monitor is not recognized
What to do when an UnsupportedCharsetException occurs in a lightweight JRE
[Rails] What to do if data is not registered in DB
java.security.InvalidKeyException: What to do when Illegal key size or default parameters
[Logback] What to do if unnecessary files do not disappear during rotation
What to do when you become a Problem During Content Assist
What to do when you run into a docker-compose node_modules problem
What to do when "relation" hibernate_sequence "does not exist" in the ID column of PostgreSQL + JPA
What to do when you want to know the source position where the method is defined in binding.pry
What to do if the app is not created with the latest Rails version installed when rails new
What to do if you get "Changes not staged for commit:" when you git status after git add.
What to do when javax.el.ELException: Not a Valid Method Expression: appears when the JSF screen is displayed
[IOS] What to do when the image is filled with one color
What to do if changes are not reflected after automatic deployment to EC2
What to do if the background image is not applied after deployment
What to do if the prefix c is not bound in JSP
What to do when CentOS cannot be started with VirtualBox on Catalina
What to do after updating Dockerfile, docker-compose.yml
What to do when Blocked Host: "host name" appears in Ruby on Rails
What to do and how to install when an error occurs in DXRuby 1.4.7
[Rails] [Memo] When to add = to <%%> and when not
What to do if deployment fails on Heroku (Ruby app not detected)
Do not return when memoizing in Ruby
Notes on what to do when EC2 is set up with t2.micro
What to do if tomcat process remains when tomcat is stopped in eclipse
What to do if Operation not permitted is displayed when you execute a command in the terminal
What to do if you get an error when you hit Heroku logs
What to do if you install Ubuntu
What to do when "call'Hoge.connection' to establish a connection" appears on rails c
What is CHECKSTYLE: OFF found in the Java source? Checkstyle to know from
Notes on what to do when a WebView ClassNotFoundException occurs in JavaFX 12
[Rails] What to do when the Refile image is not displayed when writing the processing at the time of Routing Error