Spaces:
Sleeping

File size: 1,123 Bytes
39e01c4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  "relatedBlocks": [
    "scifunc_block_m",
    "CBLOCK",
    "CBLOCK4",
    "generic_block3"
  ],
  "criticalRules": [
    "DEBUG simulationFunctionType enables interactive debugging",
    "No input/output - used for inspection and debugging only",
    "exprs[1] contains callback code (xcos_debug_gui)",
    "Opens GUI windows for interactive variable inspection",
    "Use for development/debugging - remove for production"
  ],
  "description": "Debug block - provides interactive debugging capabilities with GUI",
  "anomalies": [
    "ANOMALY: simulationFunctionType='DEBUG' (unique special type)",
    "Width=160 (4x normal width)",
    "No ports - standalone diagnostic block",
    "exprs is ScilabList with debug code callbacks",
    "simulationFunctionName='%debug_scicos' (special internal function)",
    "Block title in file is 'CBLOCK4' - likely from copy/paste"
  ],
  "name": "DEBUG",
  "commonUses": [
    "Interactive debugging during simulation",
    "Real-time variable inspection",
    "GUI-based debugging workflows",
    "Development and testing"
  ],
  "sourceFile": "data/macros/Misc/DEBUG.sci"
}