TdwsBreakpointableLines unit name lookup is case sensitive

Issue #27 closed
Anders Melander created an issue

The unit name lookup in TdwsBreakpointableLines.SourceLines[] and TdwsBreakpointableLines.IsExecutable() is case sensitive.

This means that if the source filename of a unit uses one case but is referenced with another, the unit will compile just fine but TdwsBreakpointableLines will not be able to find the unit data.

Test case

main script

uses
  Test; // Uppercase T

begin
end;

test.pas (Lowercase T)

unit Test; // Case doesn't matter

begin
  exit;
end;

Comments (1)

  1. Log in to comment