Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] Debug breakpoint strange behavior: two different style of "breakpoints"?

I'm not sure how the default breakpoint type is selected initially. It could be fairly random, in which case many people may never run into the issue.

Regards,
Greg

On Jul 31, 2013, at 8:34 PM, Jeff Steward <jeffsteward@xxxxxxxxx> wrote:

Hi Greg,

Thank you so much.  That makes perfect sense and solves the problem for me!  However, am I the only one who has trouble removing the global parallel breakpoints?

Best wishes,

Jeff



On Wed, Jul 31, 2013 at 5:28 PM, Greg Watson <g.watson@xxxxxxxxxxxx> wrote:
Jeff,

The green icon is a global parallel breakpoint (the blue 3 is actually a G). It is only used by the PTP parallel debugger, not by the CDT debugger, which it sounds like the debugger you're trying to use. You can set the type of breakpoint by right clicking in the left hand margin of the editor and selecting one of the types from the "Breakpoint Types" menu. For CDT breakpoints, select "C/C++ Breakpoints", then double clicking should create the correct type of breakpoint for you.

Regards,
Greg

On Jul 31, 2013, at 7:14 PM, Jeff Steward <jeffsteward@xxxxxxxxx> wrote:

> Hello,
>
> I am having an issue with breakpoints in Photran.  After upgrading to the latest version of Eclipse for Parallel Application Developers (Juno SR2, build id: 20130225-0426), I am now able to debug with Photran on a Mac OS X 10.7.4 with GDB 7.6 and gfortran 4.8.0.
>
> However, I notice that when I double click on the left-hand side of Eclipse to add a breakpoint in the standard way, I see strange behavior.  When NOT debugging, a mysterious green circle with a blue 3 (or maybe a broken B?) appears on the left hand side.  I cannot get rid of this mystery circle by double clicking again, right-clicking "toggle breakpoint," "disable breakpoint," or any other obvious method.  It's just stuck there.  In addition, it does not work as a breakpoint at all, i.e. the debugger will not stop there.
>
> When I AM running the debugger, or sometimes just when I am in the Debug perspective, when I double click on the left-hand bar I am able to get the familiar blue circle, which is smaller than the green icon.  This one works fine.  If I click on a green circle location, it will just slide under (it's a bit hard to see) and will function as a breakpoint that can be disabled and toggled as I would expect of breakpoints in Eclipse.
>
> Can anyone shed light on what the issue might be?  Is this a bug, or is there something I'm missing?  The issue is a bit frustrating although there is a workaround.
>
> Best wishes,
>
> Jeff
>
>
>
>
> _______________________________________________
> photran mailing list
> photran@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/photran

_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran



--
Jeff Steward
Post-Doctoral Research Scholar
JIFRESSE
University of California, Los Angeles
Office: (818)354-5081
Cell: (850)445-0088
E-mail: jsteward@xxxxxxxxxxxxxxxxx, jeffsteward@xxxxxxxxx
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran


Back to the top