sfc-aqua / quisp

Open source implementation of quantum internet simulation package
BSD 3-Clause "New" or "Revised" License
89 stars 36 forks source link

Enable logger on off #444

Closed res6idue closed 1 year ago

res6idue commented 2 years ago

This PR enables to turn off the json logger by passing an omnetpp parameter (The default value is true)


This change is Reviewable

zigen commented 1 year ago

you can use debugger to investigate the error.

  1. build with debug symbol make -C quisp MODE=debug run-unit-test

  2. set the launch.json for code-lldb

    {
    
    "version": "0.2.0",
    "configurations": [
        {
            "type": "lldb",
            "request": "launch",
            "name": "Launch",
            "program": "${workspaceFolder}/quisp/run_unit_test",
            "args": [],
            "cwd": "${workspaceFolder}/quisp"
        },
    ],
    }
  3. start debugger

zigen commented 1 year ago

@res6idue I fixed the segmentation faults. Could you check it?