BE0006
From Pigmeo - .NET/Mono/CLI (C#, VB.NET, C++/CLI, Nemerle...) for microcontrollers (PIC, dsPIC, AVR...)
Exceptions are disabled but they are used in the program
You have configured Pigmeo Compiler not to support exceptions when compiling your application to assembly language, but they are used somewhere in your application.
Contents |
Common reasons
Using instructions that throws exceptions
Some CIL instruction in your application requires exceptions to be enabled.
For example checking variable overflows requires them.
Calling methods from the framework that throws exceptions
A lot of methods found in the .NET Framework and Pigmeo Framework throws exceptions when something is wrong.
Throwing exceptions from your own code
Your application throws an exception somewhere. You may have forgotten it.
Solutions
- Configure Pigmeo Compiler so exceptions are supported. Some implementations are very efficient and they won't affect the efficiency of your application
- When possible, implement your application in a way it doesn't require exceptions, for example checking variable overflows
Category: Backend errors

