1
General Board / Re: Get all latest - out of memory error
« on: April 01, 2017, 03:24:33 am »
Although this thread is a little long in the tooth, I wanted to reply because I have been frustrated by this problem with Visual Studio (ever since upgrading to a newer version caused this error to appear) but Geert pointed me to a solution: he suggested using SharpDevelop (http://www.icsharpcode.net ) to do add-on work because it uses fewer resources. I downloaded it, installed it, opened my add-on project with it, setup EA.exe as the application to run when starting the debugger--like magic everything worked just great. So thanks, Geert, that was a great tip. The whole process took all of ten minutes.
By the way, in case other add-on developers simply cannot use SharpDevelop for one reason or another, you can still use Visual Studio to do your development, it just takes more steps:
By the way, in case other add-on developers simply cannot use SharpDevelop for one reason or another, you can still use Visual Studio to do your development, it just takes more steps:
- Build your add-on in Visual Studio -- be sure 1) EA is closed when you do the build, and 2) that you have launched VS in administrative mode else the build will fail
- Start EA via the File Explorer
- Go back to VS and find the Debug | Attach to Process... menu item
- Still in VS, set a breakpoint somewhere in the code
- In EAinvoke your add-on and you should see processing stop at the breakpoint in VS