Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-debug-dev] char_start and char_end in the breakpoint marker


The char start & end attributes are from the beginning of a file. If you specify char_start/end, you do not need to specify a line number. The attributes correlate to the CHAR_START and CHAR_END attribute defined in IMarker:

        /**
         * Character start marker attribute.  An integer value indicating where a text
         * marker starts.  This attribute is zero-relative and inclusive.
         *
         * @see #getAttribute
         */
        public static final String CHAR_START = "charStart"; //$NON-NLS-1$

        /**
         * Character end marker attribute.  An integer value indicating where a text
         * marker ends.  This attribute is zero-relative and exclusive.
         *
         * @see #getAttribute
         */
        public static final String CHAR_END = "charEnd"; //$NON-NLS-1$

Darin



Shu Tan/Toronto/IBM@IBMCA
Sent by: jdt-debug-dev-admin@xxxxxxxxxxx

01/14/2003 04:33 PM
Please respond to jdt-debug-dev

       
        To:        jdt-debug-dev@xxxxxxxxxxx
        cc:        
        Subject:        [jdt-debug-dev] char_start and char_end in the breakpoint marker



Hello,

In  terms of the marker for breakpoint, there are three attributes ( line
number, char_start, char_end )., I am wondering that char_start  and
char_end are relative to the beginning of that line, or beginning of the
file?
I means that the number is counted starting from the beginning of the line
or beginning of the file?

Thanks

Shu Tan

_______________________________________________
jdt-debug-dev mailing list
jdt-debug-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-debug-dev



Back to the top