Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8592757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:49:35+00:00 2026-06-11T23:49:35+00:00

Using Scala plugin for Eclipse version 2.1 milestone 2, in Eclipse Indigo, if I

  • 0

Using Scala plugin for Eclipse version 2.1 milestone 2, in Eclipse Indigo, if I set a breakpoint on a line that contains an anonymous function, e.g.

myList.map((x: String) => foo(bar(x)))

“the” breakpoint will be hit not only when map is called, but also when the anonymous function is called (it’s actually multiple breakpoints, but frustratingly, they only show up as one breakpoint in the breakpoint tab in Eclipse). I think this is a regression, because I seem to remember you used to get multiple breakpoints showing up in this kind of case.

How can I stop Eclipse from treating the anonymous function as part of the same breakpoint?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T23:49:37+00:00Added an answer on June 11, 2026 at 11:49 pm

    Breakpoints are line-based, so just add newlines in such a way that it’s still syntactically valid, but the lambdas you don’t want to hit are now on separate lines. E.g.

    myList.map(
      (x: String) => foo(bar(x)))
    

    (In my case, I still see an apparently spurious double-hit on the line, but that seems to be a different issue – it’s not hitting the lambdas any more.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been using Scala 2.8RC1 and Scala Eclipse plugin for 2.8 RC1 happily for
I'm using Eclipse & the Scala plugin to write scala code. The editor seems
I'm using Eclipse Scala plugin. I created a simple program: object HelloWorld { override
Currently I'm using Scala IDE, and the version of Scala it's using for my
I am trying to parallelise a code using scala actors. That is my first
How do I set up hotdeploy for Scala/Lift projects in Eclipse? Basically, I would
I try building the following simple Generator using the Scala 2.8 Continuations-PlugIn. Where does
I have a java maven project , i installed scala plugin for eclipse and
I'm developing Scala code using Eclipse, often when I run tests I get this
I'm using the Scala plugin for IDEA and normally, it works (almost) perfectly. However,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.