Results 1 to 2 of 2

Thread: Task-specific breakpoints set

  1. #1

    Question Task-specific breakpoints set

    I'm looking for an efficient way to associate/activate only a subset of breakpoints (only the ones related to a active Mylyn task) inside the debug perspective in STS. Is there a way to, say when I'm working on a bug, to add breakpoints to Mylyn context so that this chosen set is available next time around when the task is activated? This way if I switch between the tasks I'll always have only the breakpoints associated with the active task. Currently when I have an active task, once I click on the 'Focus on Active Task' toggle button in the breakpoints view of the Debug perspective, all of the currently visible breakpoints disappear and so I'm forced to carry all the breakpoints, both relevant and not, across all the tasks I keep working on. What is the proper way to achieve the described sought behavior, could someone please shed some light on how it's done?

    TIA.
    Simeon

  2. #2

    Default

    Hi Simeon,

    breakpoints are currently not tracked as part of the task context. The focusing in the breakpoints view shows breakpoints that are related to files that are part of your context only but does automatically manage them.

    Your suggestion sounds very interesting and there is a related discussion in the Mylyn bug tracker to add this functionality:

    155333: Include breakpoints from the current context into the context data
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=155333

    Please feel free to add your thoughts to the Bugzilla report and vote for it!

    Thanks.

    Steffen
    Steffen Pingel
    --
    Committer, SpringSource Tool Suite
    Senior Developer, Tasktop

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •