<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 24/05/2011 13:04, Justin Smyth wrote:
    <blockquote
      cite="mid:5A58B625A50C4779AFAB3FAECCDE0896@JustinsLaptop"
      type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <meta name="GENERATOR" content="MSHTML 8.00.7601.17573">
      <div><font face="Arial" size="2">I'm using a snapshot from 30288
          x64. FPC 2.4.3</font></div>
      <div> </div>
      <div><font face="Arial" size="2">projects have different names ,
          in the same folder since the share common units</font></div>
      <div><font face="Arial" size="2">save sessions selected as *.lpi</font></div>
      <div> </div>
    </blockquote>
    lazarus project info file <br>
    <br>
    In your project directory should be 2 files (one for each project):
    projectname.lpi<br>
    <br>
    If a breakpoint appears in the wrong app, then you can save both
    projects, and open the files in an editor (xml), and you can see
    what breakpoints are set.<br>
    <br>
    <br>
    <br>
    <br>
    <blockquote
      cite="mid:5A58B625A50C4779AFAB3FAECCDE0896@JustinsLaptop"
      type="cite">
      <div><font face="Arial" size="2">note sure if they have the same
          session name if i  could make them have a diff session name i
          could do that ( dont have a clue how to do this )</font></div>
      <div> </div>
      <div><font face="Arial" size="2">GDB is V 7.2.50.20101003-cvs</font></div>
      <div> </div>
      <div><font face="Arial" size="2">I've noticed if one application
          has no break points and i set them in the other sometimes they
          cross appear ... ussually when both apps are live.</font></div>
    </blockquote>
    <br>
    "cross appear"<br>
    To be sure:<br>
    - you have both apps running.<br>
    - you click in one source-editor on the gutter, and the red dot for
    breakpoint appears<br>
    - at the same time, the red dot appears in the other Lazarus-source
    editor too?<br>
    <br>
    That shouldn't happen, and I have no explanation... no idea.<br>
    <br>
    ---<br>
    Just to be absolutely sure, you are sure you did not accidentally
    use the wrong source editor? How to you distinguish which
    source-editor window belongs to which Lazarus?<br>
    <br>
    --- <br>
    On an unrelated note. If you share units, you should move them to a
    package.<br>
    <br>
    <br>
    <blockquote
      cite="mid:5A58B625A50C4779AFAB3FAECCDE0896@JustinsLaptop"
      type="cite">
      <div> </div>
      <div><font face="Arial" size="2">does that help ? </font></div>
      <div> </div>
      <div> </div>
      <div> </div>
      <blockquote style="border-left: 2px solid rgb(0, 0, 0);
        padding-left: 5px; padding-right: 0px; margin-left: 5px;
        margin-right: 0px;">
        <div style="font: 10pt arial;">----- Original Message ----- </div>
        <div style="font: 10pt arial; background: none repeat scroll 0%
          0% rgb(228, 228, 228);"><b>From:</b> <a
            moz-do-not-send="true" title="fpc@mfriebe.de"
            href="mailto:fpc@mfriebe.de">Martin</a> </div>
        <div style="font: 10pt arial;"><b>To:</b> <a
            moz-do-not-send="true" title="delphian@smythconsulting.net"
            href="mailto:delphian@smythconsulting.net">Justin Smyth</a>
          ; <a moz-do-not-send="true"
            title="fpc-pascal@lists.freepascal.org"
            href="mailto:fpc-pascal@lists.freepascal.org">FPC-Pascal
            users discussions</a> </div>
        <div style="font: 10pt arial;"><b>Sent:</b> Tuesday, May 24,
          2011 9:44 PM</div>
        <div style="font: 10pt arial;"><b>Subject:</b> Re: [fpc-pascal]
          Lazarus win32 Break Points</div>
        <div><br>
        </div>
        On 24/05/2011 11:37, Justin Smyth wrote:
        <blockquote
          cite="mid:0B0A55E7BE35408F93BABDD70A5347CF@JustinsLaptop"
          type="cite">
          <meta name="GENERATOR" content="MSHTML 8.00.7601.17573">
          <style></style>
          <div><font face="Arial" size="2">Quick Question , i am running
              a copy of lazarus twice from the same directory on 2
              different projects.if i set a break point in one project
              should that breakpoint show in the other project if they
              have common units where the break points are set? apart
              from running two seperate copys from different directories
              is there any other way to fix this ?</font></div>
          <div><br>
             </div>
        </blockquote>
        <br>
        Strange... I assume from your description that they (seem) to
        appear cross project?<br>
        I wouldn't expect this.<br>
        <br>
        Let's start over.<br>
        What version of Lazarus? What version of GDB?<br>
        <br>
        I understand you use on copy of Lazarus only (which is fine).<br>
        <br>
        Your 2 projects:<br>
        - Are they in different folders?<br>
        - Have they different project names?<br>
        - In "Project Options" / "Session": What does it say where to
        store session info?<br>
        <br>
        If they have the same name, and session-info is stored in
        Lazarus-config dir, then they may overwrite each other..... (not
        tested, just assumed)<br>
        The breakpoints are stored in the session info.<br>
        <br>
        How exactly does it happen for you?<br>
        If you set a breakpoint in one project, at what time does it
        show in the other? When reloading/re-opening? <br>
        <br>
      </blockquote>
    </blockquote>
    <br>
    <br>
  </body>
</html>