Debugger not working after a adding a new domain moddel

6 posts, 0 answers
  1. baiat
    baiat avatar
    4 posts
    Member since:
    Mar 2009

    Posted 02 May 2014 Link to this post

    Thank you for your support in advance.

    I recently updated to the latest DataAccess version and now the debugger is not working propperly.

    Afeter I add a new domain model, if I put a breakpoint anywhere to debug code, it stops but if I edit code, the changes are not taken into consideration.
    I tested sample code inculded in the samples kit and the problem does not apear untill I add another domain model.
    I've tried reinstalling both Visual Studio and Telerik DataAccess and nothing changes.

    For more information please check this thread on msdn:

    http://social.msdn.microsoft.com/Forums/en-US/50758e0c-d256-4ee7-aeb7-d5b748e38844/debugger-not-working-source-not-updated-on-edit-and-continue?forum=vsdebug

    Thank you.
  2. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 02 May 2014 Link to this post

    Hello,
    Telerik Data Access uses a post build step to inject lazy loading and change tracking hooks into your domain model. This build step is not working with edit&continue, to be able to integrate it, Microsoft has to release the new compiler infrastructure.
    For the Moment you can use edit&continue only in your Projects that do not contain persistent classes.

    Regards,
    Jan Blessenohl
    Telerik
     
    OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
     
  3. DevCraft banner
  4. baiat
    baiat avatar
    4 posts
    Member since:
    Mar 2009

    Posted 02 May 2014 Link to this post

    So, let me see if I understood clearly.

    If I use DataAccess, I can't use edit and continue ? Is this right ?

    Thank you
  5. Thomas
    Admin
    Thomas avatar
    590 posts

    Posted 02 May 2014 Link to this post

    Hello Baiat,

    you can use edit and continue for all assemblies, that do not get enhanced by OpenAccess. This enhancement step cannot be reproduced by the VS debugger, thus will not work in those places.

    Regards,
    Thomas
    Telerik
     
    OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
     
  6. baiat
    baiat avatar
    4 posts
    Member since:
    Mar 2009

    Posted 02 May 2014 in reply to Thomas Link to this post

    Is there a way to un-enhanceme a project?

    Thank you
  7. baiat
    baiat avatar
    4 posts
    Member since:
    Mar 2009

    Posted 02 May 2014 Link to this post

    Thank you for your time, I managed to fix my problem by using another project in my Solution for the data layer with Telerik Data Access.

    Now everything works.
Back to Top
DevCraft banner