473,405 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Eclipse breakpoint invalid

I created four maven projects, namely:

project_core, project_a, project_b, project_main.

The relationships are:

project_a relies on project_core,
project_b relies on project_core;
project_main as a startup project, through external configuration files and customized ClassLoader load project_a and project_b, similar to tomcat.
The problem is:

I set up a breakpoint in the project_core, project_a, project_b related classes.

I thought when I start project_main, you can debug project_core, project_a, project_b.

But in project_a, project_b the breakpoint is invalid, only in the project_core my breakpoint works.

I added project_core, project_a, project_b in the project_main debug configurations -> Source Lookup Path.

When the project_main start, how to project_a, project_b debugging ?
Mar 16 '17 #1
1 1182
chaarmann
785 Expert 512MB
The problem is that Eclipse cannot find the source code files for the compiled subprojects (class files). For maven there are special jar libraries containing the source code that you should include.
Non-maven: If the jar is in a library, you should see the path to the jar in the package explorer view of eclipse.
View the Properties for the JAR files of your subprojects. You should see where Eclipse gets the source code for classes in the JAR file under Java Source Attachment.
If this doesn't help, ask your question in an Eclipse forum. (You are here in the Java forum.)
Mar 17 '17 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Matt Silberstein | last post by:
I anyone using Eclipse? If so, can you give me a clue to get started. I keep reading about how good an IDE it is, but it does not seem to help with Web stuff (CSS/HTML/JavaScript). I downloaded a...
5
by: FKothe | last post by:
Hello together, the program below shows a behavior i do not understand. When compiled with the HX-UX11 c-comiler ( version B.11.11.04 ) v2.p in function test_it0 points to an invalid adress and...
4
by: fuffens | last post by:
Hi! Does anyone here have experience with Python in Eclipse environment? I have downloaded the Pydev plug-in for Eclipse. I like the editor and I find it very useful to be able to add files in a...
2
by: adrin | last post by:
Hi, i have eclipse with CDT installed on my system and just a moment ago i used debugging feature, everything seemed to be ok. but after the debugging session something has gone wrong and when i...
0
by: J. Nielsen | last post by:
Hi guys, I am trying to get the PHP debugger to run with Eclipse PDT 0.7, unsuccessfully. I am on Windows XP, PHP 5, Apache 2.0.53 on localhost:8080. I downloaded and extracted this zip-file...
0
by: Husey | last post by:
Hi, I am trying to create a very simple EJB project which requires me to create a new jboss configuration in Eclipse. I keep getting the error message "An error has occurred. See error log for...
0
by: AlterEgo | last post by:
Hi all, This is my first PHP development project. So far, I have around 15 classes and 8 viewable pages. I've overcome a number of ideosynchrosies (such as no whitespace after the heredoc end...
2
by: Andreas M. | last post by:
Hi, found this one last night and thought some of you may find it interesting. While this is only partially Javascript it is a pretty interesting project for enterprise web-developers. From...
2
by: Joel | last post by:
Hey there.. I'm using boa constructor to debug a python application. For my application, I need to insert break points and execute some piece of code interactively through shell or someother...
6
by: Morgan Packard | last post by:
Hello, Wondering what everyone's experience with breakpoint debugging is here. I've been using firebug for a few years and, while I'm delighted to have _some_ debugging ability, I've found it to...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.