Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Nishtha on January 06, 2016, 10:26:52 pm
-
In the Enterprise architect as soon as the debugger is launched there occurs a question mark occurs in the breakpoint. After sometime it goes away and a solid breakpoint appears. Then i run the application code remotely the debugger does not stop at the debug point in the Enterprise Architect. I tried restarting the server as well as EA. Please help for the same.
-
From the Help, Failure to Bind Breakpoint:
A breakpoint failure occurs if there is a problem in binding the breakpoint. Breakpoint failures are most often caused by source files being changed without the application being rebuilt. Breakpoints can sometimes bind to a different line, causing them to be moved. If a breakpoint cannot be bound to the binary at this line or the three lines following it, it is displayed with a question mark.
A warning message displays in the 'Details' column of the Breakpoints & Events window, identifying the type of problem:
- The source file for the breakpoint does not match the source file used to build the application image
- The time date stamp on the file is greater than that of the image
A warning message is also output to the Debug window.
Does this help you at all?
-
Hi,
the thing I do is:
- Ensure Debug mode
- Rebuild my application
Kind regards,
Helmut
-
I tried as you advised and the debugger was launched successfully but after a few attempts it again stopped recognizing the breakpoint. Kindly help.
-
Hi,
is it possible that you have accidently changed your code?
Another possibility is that EA uses an other DLL (path) as you expect. May be http://community.sparxsystems.com/community-resources/772-ea-installation-inspector helps a bit.
What I also do if I find nothing:
- Rebuild as release (complete!), deinstall, install
- Rebuild as debug (complete!)
Sometimes I also reboot my PC (you may laugh).
If you find the cause please publish it. In my opnion it's a common cause of trouble.
Thanks and good luck!
Regards,
Helmut
-
Thanx Helmut and RoyC, your suggestions were helpful. I just need help in one more thing.
I have two packages in a model. Some classes are in package1 and some in package 2. I have made a Analyzer script for package2 and when i am running that script I am getting a message in the debug window which says:
"[76131669] too many results: 2 records found for findclass Lcom/steria/tributum/request/bl/processing/RequestManager".
Here "com/stria/request/bl/processing/RequestManager" is a class from Package2.
Can you please tell what does this message mean?
-
Also i want to know that if i delete a class from any project and then re import it, then also the debug point occurs at the same point as that of the previous location. How do i reset it? I think that it is somewhere stored in the cache. Sorry if i am wrong, I am very new to EA.
-
Hi,
I haven't experienced any issues with Cache or so using Addin or Scripting. EA takes care of it as long as you use the EA API.
There is propably something else with your script.
Regards,
Helmut
-
Hi,
regarding your error message: Could you tell what you are doing in the script. Which API you use and what you expect to get.
Regards,
Helmut