Debugging

Debugging C# applications based on the Mono framework is not that trivial. It takes a huge knowledge base to handle Mono properly and to hunt down bugs efficiently.

In this section, we focus on debugging in general and you'll learn about the basic steps in the process.

JIT

For debugging a C# application, you'll have to run the just-in-time (JIT) compiler inside a debugger. On Linux systems, the GDB (GNU Debugger) is widespread. It provides all relevant mechanisms for debugging an application. Before you can use the debugger, you need a file containing information about all data types and so forth. This file has to be regenerated every time a method is compiled.

Using the JIT compiler is comparatively complex. Therefore, we won't deal ...

Get Mono Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.