Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Borland Delphi > Bug: Inconsiste...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3729 of 3952
Post > Topic >>

Bug: Inconsistent Breakpoint Location in Delphi 2007

by "Skybuck Flying" <BloodyShame@[EMAIL PROTECTED] > May 4, 2008 at 07:14 PM

Hello,

I just discovered(?) this mildly annoying bbbbuuuuggggg in Delphi 2007,

"Inconsistent Breakpoint Location"

See below:

// *** Begin of Demonstration ***

program Project1;

{$APPTYPE CONSOLE}

{

Test inconsistent break point location

version 0.01 created on 4 may 2008 by Skybuck Flying.

Tested on Delphi 2007.

Weird bug in compiler, ide or debugger ???! ;)

See below:

}

uses
 SysUtils;

procedure InconsistentBreakPointLocation( Para : integer );
begin
 writeln( 'Such a Bull****: ', Para );
end;

procedure Main;
begin

 InconsistentBreakPointLocation
 ( // <- breakpoint must be set here
  100
 );

 InconsistentBreakPointLocation  // breakpoint here
 (
  200
 );

 InconsistentBreakPointLocation // breakpoint here
 (
  300
 );
end;

begin
 try
  Main;
 except
  on E:Exception do
   Writeln(E.Classname, ': ', E.Message);
 end;
 readln;
end.

// *** End of Demonstration ***

Bye,
  Skybuck.
 




 1 Posts in Topic:
Bug: Inconsistent Breakpoint Location in Delphi 2007
"Skybuck Flying"  2008-05-04 19:14:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 4:35:01 CDT 2008.