Re: [Lazarus] Source Tab duplication on Linux...

2012-11-30 Thread William Oliveira Ferreira
I had already deleted the file LPS trying to solve the problem.

To facilitate, I open the project stored on the original partition.

I will try other ways to create this symbolic link later.

2012/11/30 Martin laza...@mfriebe.de

  You also wont to check the lps (session) file (may be in your main
 config folder).

 Now that it knows both pathes, there may be references. Simpl gcep for the
 path, you do not ant to open


 On 30/11/2012 01:36, William Oliveira Ferreira wrote:

 Thanks for the hint!

 2012/11/29 William Oliveira Ferreira bdexterholl...@gmail.com



  2012/11/29 Martin laza...@mfriebe.de

 Look at the filename (with path) in the statusbar.
 The location differ.

 Maybe it is a link (lazarus does not detect links), maybe you used the
 other copy of the file.

 In any case for lazarus this are 2 diff files.


 I didn't created any copy file on this situation but i neither noticed
 that the file name differs on the statusbar. Today, I use an extra
 partition to store my docs and source-codes and I also created some
 symbolic links that points to these folders inside user's folder to easely
 to access my files on some situations...



 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




-- 

William de Oliveira Ferreira
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Source Tab duplication on Linux...

2012-11-30 Thread Martin

On 30/11/2012 11:07, William Oliveira Ferreira wrote:


I had already deleted the file LPS trying to solve the problem.

To facilitate, I open the project stored on the original partition.

I will try other ways to create this symbolic link later.


Lazarus can get the path from gdb, if fpc stored it in the debug info.

To check, try compilirng with -va (tons of output) and check the result 
(grep) for the path.


Or run the debugger with logfile
http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debug_session

and check for the gdb messages, when the breakpoint is hit. Add 
DBG_LOCATION_INFO to the enable list too



2012/11/30 Martin laza...@mfriebe.de mailto:laza...@mfriebe.de

You also wont to check the lps (session) file (may be in your main
config folder).

Now that it knows both pathes, there may be references. Simpl gcep
for the path, you do not ant to open


On 30/11/2012 01:36, William Oliveira Ferreira wrote:

Thanks for the hint!

2012/11/29 William Oliveira Ferreira bdexterholl...@gmail.com
mailto:bdexterholl...@gmail.com



2012/11/29 Martin laza...@mfriebe.de
mailto:laza...@mfriebe.de

Look at the filename (with path) in the statusbar.
The location differ.

Maybe it is a link (lazarus does not detect links), maybe
you used the other copy of the file.

In any case for lazarus this are 2 diff files.


I didn't created any copy file on this situation but i
neither noticed that the file name differs on the statusbar.
Today, I use an extra partition to store my docs and
source-codes and I also created some symbolic links that
points to these folders inside user's folder to easely to
access my files on some situations...




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
mailto:Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




--

William de Oliveira Ferreira



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Source Tab duplication on Linux...

2012-11-29 Thread William Oliveira Ferreira
Hi,

when I'm debugging a application and the debugger reach a break point, it
doesn't use the already open source tab, Lazarus opens a new tab of the
same file focusing the break point line.

How can I change this behavior?

Screen Shots:
http://imagebin.org/237601
http://imagebin.org/237602

PS.: Sorry about all language errors..

-- 

William de Oliveira Ferreira
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Source Tab duplication on Linux...

2012-11-29 Thread Martin

On 30/11/2012 00:27, William Oliveira Ferreira wrote:


Hi,

when I'm debugging a application and the debugger reach a break point, 
it doesn't use the already open source tab, Lazarus opens a new tab of 
the same file focusing the break point line.


How can I change this behavior?

Screen Shots:
http://imagebin.org/237601
http://imagebin.org/237602

PS.: Sorry about all language errors..

Look at the filename (with path) in the statusbar.
The location differ.

Maybe it is a link (lazarus does not detect links), maybe you used the 
other copy of the file.


In any case for lazarus this are 2 diff files.

The reason you can set breakpoint is that setting breakpoints has a 
fallback to only use the filename, without path.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Source Tab duplication on Linux...

2012-11-29 Thread William Oliveira Ferreira
Thanks for the hint!

2012/11/29 William Oliveira Ferreira bdexterholl...@gmail.com



 2012/11/29 Martin laza...@mfriebe.de

 Look at the filename (with path) in the statusbar.
 The location differ.

 Maybe it is a link (lazarus does not detect links), maybe you used the
 other copy of the file.

 In any case for lazarus this are 2 diff files.


 I didn't created any copy file on this situation but i neither noticed
 that the file name differs on the statusbar. Today, I use an extra
 partition to store my docs and source-codes and I also created some
 symbolic links that points to these folders inside user's folder to easely
 to access my files on some situations...

 --
 
 William de Oliveira Ferreira




-- 

William de Oliveira Ferreira
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Source Tab duplication on Linux...

2012-11-29 Thread Martin
You also wont to check the lps (session) file (may be in your main 
config folder).


Now that it knows both pathes, there may be references. Simpl gcep for 
the path, you do not ant to open


On 30/11/2012 01:36, William Oliveira Ferreira wrote:

Thanks for the hint!

2012/11/29 William Oliveira Ferreira bdexterholl...@gmail.com 
mailto:bdexterholl...@gmail.com




2012/11/29 Martin laza...@mfriebe.de mailto:laza...@mfriebe.de

Look at the filename (with path) in the statusbar.
The location differ.

Maybe it is a link (lazarus does not detect links), maybe you
used the other copy of the file.

In any case for lazarus this are 2 diff files.


I didn't created any copy file on this situation but i neither
noticed that the file name differs on the statusbar. Today, I use
an extra partition to store my docs and source-codes and I also
created some symbolic links that points to these folders inside
user's folder to easely to access my files on some situations...



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus