Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Nishtha on January 06, 2016, 10:26:52 pm

Title: debugger does not stop at the breakpoint
Post 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.
Title: Re: debugger does not stop at the breakpoint
Post by: RoyC on January 07, 2016, 09:54:41 am
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:

A warning message is also output to the Debug window.

Does this help you at all?
Title: Re: debugger does not stop at the breakpoint
Post by: Helmut Ortmann on January 07, 2016, 04:56:52 pm
Hi,

the thing I do is:

Kind regards,

Helmut
Title: Re: debugger does not stop at the breakpoint
Post by: Nishtha on January 07, 2016, 08:02:55 pm
I tried as you advised and the debugger was launched successfully but after a few attempts it again stopped recognizing the breakpoint. Kindly help.
Title: Re: debugger does not stop at the breakpoint
Post by: Helmut Ortmann on January 07, 2016, 10:08:38 pm
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:

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

Title: Re: debugger does not stop at the breakpoint
Post by: Nishtha on January 08, 2016, 04:58:46 pm
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?
Title: Re: debugger does not stop at the breakpoint
Post by: Nishtha on January 08, 2016, 05:15:43 pm
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.
Title: Re: debugger does not stop at the breakpoint
Post by: Helmut Ortmann on January 08, 2016, 07:08:06 pm
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
Title: Re: debugger does not stop at the breakpoint
Post by: Helmut Ortmann on January 08, 2016, 07:10:53 pm
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