ChakraCore icon indicating copy to clipboard operation
ChakraCore copied to clipboard

How can I debug ch.exe ?

Open mosheDO opened this issue 1 year ago • 3 comments

Hi

I'm trying to debug the ch.exe file in Visual Studio, but it crashes immediately and I couldn't find any Wiki/Tutorial on that. is this a known issue? or there anything related to that?

Regards, Moshe

mosheDO avatar Jan 31 '24 15:01 mosheDO

It shouldn't crash; I'm afraid I've never used the Visual Studio debugger, @fatcerberus do you have any experience/thoughts on this?

rhuanjl avatar Apr 22 '24 21:04 rhuanjl

Hi After investigating it seems that the reason is because in the properties the debug is defined as script and not native. Changing that will fix it.

Just out of curiosity what debugger do you use?

mosheDO avatar Apr 24 '24 12:04 mosheDO

I primarily develop in VSCode on a mac; I debug with GDB via the CPP add on.

rhuanjl avatar Apr 24 '24 17:04 rhuanjl

@mosheDO Did you get it to work?

ShortDevelopment avatar May 30 '24 19:05 ShortDevelopment

Yes, sorry for not closing

mosheDO avatar May 30 '24 20:05 mosheDO

No problem! Good to know you could solve your issue 😊

ShortDevelopment avatar May 30 '24 20:05 ShortDevelopment

@ShortDevelopment

Just out of curiosity is there any planning to add some new JS features such as BigInt for example?

mosheDO avatar May 31 '24 05:05 mosheDO