Ticket #3000 (new feature request)

Opened 4 years ago

Last modified 8 months ago

:break command should recognize also nonexported top level symbols in qualified IDs

Reported by: phercek Owned by:
Priority: lowest Milestone: 7.6.2
Component: GHCi Version: 6.10.1
Keywords: debugger Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

When a breakpoint is defined for a qualified function name ( ( conid . )+ varid ). Then the name should be found even when it is not exported (i.e. when varid is not in the export list).
The qualification ensures no ambiguity can happen so it should be allowed since it is line number independent which means breakpoint definitions sourced with ":." would be more robust against code modifications.

Change History

Changed 4 years ago by phercek

Actually it would be cool if function names of the form ( conid . )* ( varid . )* varid could be recognized too.
The identifer can have a sequence of varids at the end. The idea is to identify a function which is defined in a where clause (or even a let clause (the first let function with given name)).
E.g. for this source file:

fn s = 'a' : add s
  where add = (++"z")

it could look like :break Main.fn.add and it would be tha same as :break 2 (breakpoint on 'add').

Changed 4 years ago by igloo

  • difficulty set to Unknown
  • milestone set to 6.12 branch

Changed 3 years ago by igloo

  • milestone changed from 6.12 branch to 6.12.3

Changed 3 years ago by igloo

  • priority changed from normal to low
  • milestone changed from 6.12.3 to 6.14.1

Changed 2 years ago by igloo

  • milestone changed from 7.0.1 to 7.0.2

Changed 2 years ago by igloo

  • milestone changed from 7.0.2 to 7.2.1

Changed 20 months ago by igloo

  • milestone changed from 7.2.1 to 7.4.1

Changed 16 months ago by igloo

  • priority changed from low to lowest
  • milestone changed from 7.4.1 to 7.6.1

Changed 8 months ago by igloo

  • milestone changed from 7.6.1 to 7.6.2
Note: See TracTickets for help on using tickets.