FreeCAD WebAssembly development snapshot
Some checks failed
FreeCAD master CI / Prepare (push) Has been cancelled
FreeCAD master CI / Pixi (push) Has been cancelled
FreeCAD master CI / Ubuntu (push) Has been cancelled
FreeCAD master CI / Windows (push) Has been cancelled
FreeCAD master CI / Lint (push) Has been cancelled
FreeCAD master CI / WrapUp (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Stale Issues / stale (push) Has been cancelled
Some checks failed
FreeCAD master CI / Prepare (push) Has been cancelled
FreeCAD master CI / Pixi (push) Has been cancelled
FreeCAD master CI / Ubuntu (push) Has been cancelled
FreeCAD master CI / Windows (push) Has been cancelled
FreeCAD master CI / Lint (push) Has been cancelled
FreeCAD master CI / WrapUp (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Stale Issues / stale (push) Has been cancelled
This commit is contained in:
12
contrib/clion/GetCLionDebugPort.FCMacro
Normal file
12
contrib/clion/GetCLionDebugPort.FCMacro
Normal file
@@ -0,0 +1,12 @@
|
||||
import pydevd
|
||||
from multiprocessing.connection import Listener
|
||||
|
||||
print("CLion debugger macro running. Starting listener to get port")
|
||||
listen = Listener(('localhost', 39998), backlog=1)
|
||||
link = listen.accept()
|
||||
port = link.recv()
|
||||
link.close()
|
||||
listen.close()
|
||||
print("Port", port, "received, starting debugger. Check CLion to see if a breakpoint has been hit and continue")
|
||||
pydevd.settrace(port=port)
|
||||
print("Debugger operating, leaving macro.")
|
||||
Reference in New Issue
Block a user