Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Debugger gets confused


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Jan 19, 2015 8:32 AM Last Post By: Poul Kristensen
Poul Kristensen

Posts: 7
Registered: 9/27/00
Debugger gets confused  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 17, 2015 7:14 AM
Hi

It seems that the debugger gets confused - when I am debugging a file called, say main, and I then open another file also called main but maybe an earlier version or belonging to some other project - the debugger will jump to the same line number as where I have placed the breakpoints in the correct file. If for instance I've placed a breakpoint in line 100 in the correct file, the debugger will go to line 100 but in the main-file I opened last.

Anyone else noticed the same thing?

Best regards
Poul
Linden ROTH

Posts: 467
Registered: 11/3/11
Re: Debugger gets confused  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 17, 2015 12:48 PM   in response to: Poul Kristensen in response to: Poul Kristensen
Poul Kristensen wrote:
Hi

It seems that the debugger gets confused - when I am debugging a file called, say main, and I then open another file also called main but maybe an earlier version or belonging to some other project - the debugger will jump to the same line number as where I have placed the breakpoints in the correct file. If for instance I've placed a breakpoint in line 100 in the correct file, the debugger will go to line 100 but in the main-file I opened last.

Anyone else noticed the same thing?

Best regards
Poul

Yes ... it not hard to understand the debug says to the IDE go to line 100 in file main ... if you have to 2 of more file of the same name opened you may get randomish results ... if you need to re open a file us a different editor/rename the file/open in a new instance of the IDE

This is not just a Firemonkey issue

--
Linden
"Mango" was Cool but "Wasabi" was Hotter but remember it's all in the "source"
Poul Kristensen

Posts: 7
Registered: 9/27/00
Re: Debugger gets confused  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 19, 2015 8:32 AM   in response to: Linden ROTH in response to: Linden ROTH
Yes, I can understand why it happens. I meant, why hasn't it been fixed? I know it was an issue in Delphi 7 - but still? In XE5? I mean, if you have two files, choose the one in the same folder as the rest of the program or if that doesn't work, choose the one in the editor or something. It doesn't seem hard to me. It is a real pain and you can't just undo it. I have to load another projekt and then the first one again - it's just silly.

Poul

Linden ROTH wrote:
Poul Kristensen wrote:
Hi

It seems that the debugger gets confused - when I am debugging a file called, say main, and I then open another file also called main but maybe an earlier version or belonging to some other project - the debugger will jump to the same line number as where I have placed the breakpoints in the correct file. If for instance I've placed a breakpoint in line 100 in the correct file, the debugger will go to line 100 but in the main-file I opened last.

Anyone else noticed the same thing?

Best regards
Poul

Yes ... it not hard to understand the debug says to the IDE go to line 100 in file main ... if you have to 2 of more file of the same name opened you may get randomish results ... if you need to re open a file us a different editor/rename the file/open in a new instance of the IDE

This is not just a Firemonkey issue

--
Linden
"Mango" was Cool but "Wasabi" was Hotter but remember it's all in the "source"
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02