Plex 2E

  • 1.  Plex 7.1 Debug C#

    Posted Aug 19, 2014 12:01 PM

    Hi everyone,

    I've just switched from Plex 6.0 to 7.1.

    I've re-gen C# function (with Build for .NET CLR debug setted) and builded with Code library Wizard witth Debug =True.

    Setted the Plex\7.1\ob.Net\Debug\PlexRuntimeConsole.exe.config

    Started the Plex\7.1\ob.Net\Debug\PlexRuntimeConsole.exe

    Trying to debug (with VisualStudio2005) the above process in output window (trying to translate from italian):

    'PlexRuntimeConsole.exe': loaded 'C:\Programmi\CA\Plex\7.1\ob.Net\Debug\PlexRuntimeConsole.exe', No native symbol in the symbol file.

    so every breakpoint inserted are disabled.

     

    While with Plex 6.0 with same sequence:

    'PlexRuntimeConsole.exe' (managed): loaded 'C:\Programmi\CA\AllFusion Plex r6.0\ob.Net\bin\Debug\PlexRuntimeConsole.exe', symbols loaded.

     

    What have I missed?

    Thank you

    Mario



  • 2.  Re: Plex 7.1 Debug C#

    Posted Aug 20, 2014 06:22 AM

    More details:

    I'm using Client WinC and Server C#. Windows XP

    Plex 7.1 r7.1  Build 26.002

     

    Mario



  • 3.  Re: Plex 7.1 Debug C#
    Best Answer

    Posted Sep 22, 2014 06:12 AM

    I've opened the ticket 21906210-1: DEBUG C# SERVER FUNCTION

    Thanks to Jill Plautz, there's an answer:

    " .. for C# ... to do debugging ... you do need Visual Studio 2010 or higher."


    Unfortunately we still haven't Visual Studio 2010.

    I can't install Visual Studio 2013 express as I've Windows XP.

    I've tried to install Visual Studio 2010 C# Express, but it hasn't the "attach to process" feature.

    I've tried to install Visual Studio 2010 C++, Express, it has the "attach to process" feature, it but can't evaluate C# variables.

     

    So I think the only way to debug C# is to buy Visual Studio 2010 C# Professional.

    Mario



  • 4.  Re: Plex 7.1 Debug C#

    Broadcom Employee
    Posted Sep 23, 2014 09:01 AM
      |   view attached

    Hi Mario,

     

    There seems limitation with Visual Studio Express edition towards ‘Attach to Process” feature.

    Please refer the MSDN link.


    There is one possible workaround to address this problem with Visual Studio 2010 Express edition. Please refere attached word document for the same.

     

    Please let us know if this works for you!

     

    Hope this helps.

     

    Regards,

    Arun Painuly

    CA Technologies



  • 5.  Re: Plex 7.1 Debug C#

    Posted Sep 23, 2014 09:46 AM

    Wow!! Very nice solution, it works very well.

     

    Thank you very much Arun, only one note: I think that must be called the debug PlexRunTimeConsole:

     

    <StartProgram>C:\Program Files (x86)\CA\Plex\7.1\Ob.NET\Debug\PlexRuntimeConsole.exe</StartProgram>

     

    Mario



  • 6.  Re: Plex 7.1 Debug C#

    Broadcom Employee
    Posted Sep 23, 2014 09:57 AM

    Hi Mario,

     

    Glad to hear that provided workaround solved the problem. Thanks for the correction - Yes, Plex runtime console should be pointing to Debug version.

     

    Thanks.

     

    Regards,

    Arun Painuly

    CA Technologies