https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • b

    bright-gpu-74537

    06/03/2020, 12:08 PM
    i think you can debug hxcpp in vscode
  • b

    bright-gpu-74537

    06/03/2020, 12:08 PM
    think
  • u

    user

    06/03/2020, 12:08 PM
    I was able to do it, yes
  • u

    user

    06/03/2020, 12:09 PM
    But how to debug up to wx part?
  • u

    user

    06/03/2020, 12:09 PM
    I mean using breakpoints, etc...
  • b

    bright-gpu-74537

    06/03/2020, 12:09 PM
    on the wx c++ source?
  • b

    bright-gpu-74537

    06/03/2020, 12:09 PM
    not sure if thats possible
  • u

    user

    06/03/2020, 12:13 PM
    I'll perhaps try
  • b

    bright-gpu-74537

    06/03/2020, 12:16 PM
    i havent got a clue how the hxcpp debugger works, i mean, i dont know if it adds debug information to all compiled code, or just generated (and compiled) code from .hx files
  • m

    most-caravan-45834

    06/03/2020, 2:49 PM
    Thanks @User and @User for digging into it, I'll try that fix for now!
  • c

    clever-oil-61353

    06/03/2020, 2:59 PM
    it'll get ya moving forward
  • c

    clever-oil-61353

    06/03/2020, 3:01 PM
    i noticed hashlink has a -debug option just a bit ago
  • c

    clever-oil-61353

    06/03/2020, 3:02 PM
    guifes i came across this, didn't know if you had seen it or not...... https://github.com/HaxeFoundation/hashlink/wiki/C-API-Documentation
  • c

    clever-oil-61353

    06/03/2020, 3:03 PM
    its covering the mem allocation and such for arrays string enums etc
  • u

    user

    06/03/2020, 7:43 PM
    @User as a first try, what should I spy for the closing issue on osx ?
  • b

    bright-gpu-74537

    06/03/2020, 7:50 PM
    i guess the first think i would try is a hxWidgets application and see if that closes, there is a new, really simple one here:
  • u

    user

    06/03/2020, 7:50 PM
    the DC one ? 😉
  • b

    bright-gpu-74537

    06/03/2020, 7:50 PM
    https://github.com/haxeui/hxWidgets/tree/master/samples/00-DC
  • b

    bright-gpu-74537

    06/03/2020, 7:50 PM
    yeah, exactly
  • u

    user

    06/03/2020, 7:50 PM
    (I'm spying everything you do!!!)
  • b

    bright-gpu-74537

    06/03/2020, 7:51 PM
    😄
  • u

    user

    06/03/2020, 7:54 PM
    crash on launch 😉
  • u

    user

    06/03/2020, 7:55 PM
    sorry
  • b

    bright-gpu-74537

    06/03/2020, 7:57 PM
    fun
  • b

    bright-gpu-74537

    06/03/2020, 7:57 PM
    ok, what about commenting out all the drawing stuff in there
  • b

    bright-gpu-74537

    06/03/2020, 7:57 PM
    https://github.com/haxeui/hxWidgets/blob/master/samples/00-DC/src/Main.hx#L21-L38
  • b

    bright-gpu-74537

    06/03/2020, 7:57 PM
    get rid of all of that, see if that makes a diff
  • u

    user

    06/03/2020, 7:59 PM
    yep, window opens
  • u

    user

    06/03/2020, 7:59 PM
    let see if I can close it....
  • u

    user

    06/03/2020, 7:59 PM
    it closes 😦
1...251252253...1687Latest