eclipse-xtext / eclipse-xtext/xtext

provide custom IBreakpointImportParticipant for xbase languages

Open
#2,374 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help_wanted
Dominant language
Java
Stars
831
Forks
330
Avg merge
3d 7h
Merged PRs (30d)
12

Description

we dont provide a custom IBreakpointImportParticipant which leads to DefaultImportParticipant being used and thus org.eclipse.xtext.debug.IStratumBreakpointSupport.isValidLineForBreakPoint(XtextResource, int) beeing bypassed

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how breakpoint imports select between IBreakpointImportParticipant and DefaultImportParticipant for Xbase languages. Read the referenced org.eclipse.xtext.debug.IStratumBreakpointSupport.isValidLineForBreakPoint(XtextResource, int) contract and identify the existing breakpoint import entry points. Done means Xbase breakpoint imports use a custom participant and the valid-line check is no longer bypassed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.