GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
<?xml version="1.0" encoding="UTF-8"?>12<!--34Debugging.xml MatricesForHomalg package documentation Mohamed Barakat56Copyright (C) 2007-2009, Mohamed Barakat, RWTH-Aachen78-->910<Appendix Label="Debugging">11<Heading>Debugging &MatricesForHomalg;</Heading>1213Beside the &GAP; builtin debugging facilities (&see;14<Ref Sect="Debugging and Profiling Facilities" BookName="Reference"/>) &MatricesForHomalg; provides two15ways to debug the computations.1617<Section Label="SetAssertionLevel">18<Heading>Increase the assertion level</Heading>1920&MatricesForHomalg; comes with numerous builtin assertion checks. They are21activated if the user increases the assertion level using <Br/><Br/>2223<C>SetAssertionLevel</C>( <A>level</A> ); <Br/><Br/>2425(&see; <Ref Sect="SetAssertionLevel" BookName="Reference"/>), where26<A>level</A> is one of the values below:2728<Table Align="l|l">29<Row>30<Item><A>level</A></Item>31<Item>description</Item>32</Row>33<HorLine/>34<Row><Item></Item><Item></Item></Row>35<Row>36<Item>0</Item>37<Item>no assertion checks whatsoever</Item>38</Row>39<Row><Item></Item><Item></Item></Row>40<Row>41<Item>4</Item>42<Item>assertions about basic matrix operations are checked (&see;43Appendix <Ref Chap="Basic_Operations"/>)</Item>44</Row>45<Row>46<Item></Item>47<Item>(these are among the operations often delegated to external systems)</Item>48</Row>49<Row><Item></Item><Item></Item></Row>50<HorLine/>51</Table>5253In particular, if &MatricesForHomalg; delegates matrix operations to an external54system then <C>SetAssertionLevel</C>( 4 ); can be used to let &MatricesForHomalg;55debug the external system. <Br/><Br/>5657<#Include Label="asserts">5859</Section>6061<Section Label="using homalgMode">62<Heading><C>Using homalgMode</C></Heading>6364<#Include Label="homalgMode">6566</Section>6768<!-- ############################################################ -->6970</Appendix>71727374