Sindbad~EG File Manager
�
��g� � � � d dl mZ d dlZddlmZmZ ddlmZ ed� � ed� � dd�d ed
ee fd�� � � � Z dS )� )�OptionalN� )�
capability�request)�
decode_source�breakpointLocations�"supportsBreakpointLocationsRequest)�endLine�liner
c � � |�|}t | � � }t � � }t j d|� � d D ]+}|d }||k r||k r|� |� � �,dd� t |� � D � � iS )Nz-symbol-list-lines�linesr �breakpointsc � � g | ]}d |i��S )r � )�.0�xs �./gdb/dap/locations.py�
<listcomp>z(breakpoint_locations.<locals>.<listcomp>+ s � �?�?�?�A�V�Q�K�?�?�?� )r �set�gdb�
execute_mi�add�sorted)�sourcer r
�extra�filenamer
�entry� this_lines r �breakpoint_locationsr s� � � �����V�$�$�H��E�E�E��� 4�h�?�?��H� !� !���&�M� ������g�!5�!5��I�I�i� � � ���?�?�����?�?�?�@�@r )
�typingr r �serverr r �sourcesr �intr r r r �<module>r% s� ��"