When doing debugging of .NET Compact Framework 3.5 applications you can encounter Prefetch Abort errors, due to the amount of RAM used by your application. This happens only when the JIT Debugger is attached to your Windows Embedded CE 6.0 or Windows Embedded Compact 7 target.
In that case Microsoft is providing a registry fix-up that allows the debugger to catch this use case. Add the following to your device registry :
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework]Microsoft fixup page link.
"JITCodeBufferSizeLimitEnabled"=dword:00000001
-Nicolas
Fantastic. Saved me hours (weeks? years?) trying to work out what was going on.
ReplyDelete