Hi everyone, I am new to the community.
I started a sample project, working on 3D objects and it has worked terrific so far.
I wanted to debug the code to start dealing with manipulation of the loaded 3D object but it seems that the debugger disconnects when I reach the FileIO line.
I have tried running it in JuliaPro and in vsCode, both are disconnecting.
This is the code I am running:
using MakieGallery
using Makie
using GeometryBasics
using FileIO
using AbstractPlotting
cat = FileIO.load("1.obj")
vertices = decompose(Point3f0, cat)
faces = decompose(TriangleFace{Int}, cat)
coordinates = [vertices[i][j] for i = 1:length(vertices), j = 1:3]
connectivity = [faces[i][j] for i = 1:length(faces), j = 1:3]
scene = mesh(
coordinates, connectivity,
color = "grey"
)
cameracontrols(scene).rotationspeed[] = 0.01f0
scene
I am trying to break after the loading of “1.obj” but Julia is non-responsive at that point and does not recover.
Logging from JuliaPro while the REPL was not responding:
Atom:
Version: 1.47.0
Dev Mode: false
Official Release: true
{
“node”: “12.0.0”,
“v8”: “7.3.492.27-electron.0”,
“uv”: “1.27.0”,
“zlib”: “1.2.11”,
“brotli”: “1.0.7”,
“ares”: “1.15.0”,
“modules”: “70”,
“nghttp2”: “1.34.0”,
“napi”: “4”,
“llhttp”: “1.1.1”,
“http_parser”: “2.8.0”,
“openssl”: “1.1.0”,
“icu”: “63.1”,
“unicode”: “11.0”,
“electron”: “5.0.13”,
“chrome”: “73.0.3683.121”
}
julia-client:
Version: 0.12.5
Config:
{
“currentVersion”: “0.12.5”,
“firstBoot”: false,
“juliaOptions”: {
“bootMode”: “Basic”
},
“juliaPath”: “C:\Users\user\AppData\Local\JuliaPro-1.4.2-1\Julia-1.4.2\bin\julia.exe”,
“uiOptions”: {
“enableMenu”: true,
“enableToolBar”: true,
“layouts”: {
“openDefaultPanesOnStartUp”: true
}
}
}
ink:
Version: 0.12.4
Config:
undefined
uber-juno:not installed
language-julia:
Version: 0.19.3
Config:
undefined
language-weave:
Version: 0.7.2
Config:
undefined
indent-detective:not installed
latex-completions:
Version: 0.3.6
Config:
undefined
Could not connect to Julia.
I don’t know where the vsCode log is and will be happy to add if needed,
I tried debugging other pieces of code and it worked great, I have a feeling I am missing something with the IO operation or something specifically with the loading of a 3D object.
btw, the file size is around 5MB
Thank you for your help!