This is a migrated thread and some comments may be shown as answers.

Debugger not working after a adding a new domain moddel

5 Answers 22 Views
Data Access Free Edition
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
baiat
Top achievements
Rank 1
baiat asked on 02 May 2014, 01:00 PM
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.

5 Answers, 1 is accepted

Sort by
0
Jan Blessenohl
Telerik team
answered on 02 May 2014, 01:16 PM
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.
 
0
baiat
Top achievements
Rank 1
answered on 02 May 2014, 01:34 PM
So, let me see if I understood clearly.

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

Thank you
0
Thomas
Telerik team
answered on 02 May 2014, 01:52 PM
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.
 
0
baiat
Top achievements
Rank 1
answered on 02 May 2014, 02:24 PM
Is there a way to un-enhanceme a project?

Thank you
0
baiat
Top achievements
Rank 1
answered on 02 May 2014, 02:56 PM
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.
Tags
Data Access Free Edition
Asked by
baiat
Top achievements
Rank 1
Answers by
Jan Blessenohl
Telerik team
baiat
Top achievements
Rank 1
Thomas
Telerik team
Share this question
or