ceylon-ide-eclipse icon indicating copy to clipboard operation
ceylon-ide-eclipse copied to clipboard

CeylonTest View JavaScript unit test failure trace double-clicking on failure trace direct focus to line

Open lukedegruchy opened this issue 9 years ago • 2 comments

Write a failing JavaScript unit test and double-click on any line in the failure trace and it won't direct focus to the line of code in question. For the same test on JVM double-clicking will direct focus to the line in the failure trace.

I don't think this is severe enough that it needs to be fixed for 1.2.

lukedegruchy avatar Oct 24 '15 21:10 lukedegruchy

For navigation from stack-trace, I'm reusing CeylonPatternMatchListenerDelegate, which doesn't support javascript for now and I guess, that we will need source maps for that at first, which aren't implemented in ceylon-js compiler yet.

@chochos can you confirm?

thradec avatar Nov 06 '15 19:11 thradec

I can confirm that source maps are not implemented.

I changed the stack trace that is printed in JS exceptions for 1.2, it now includes source location but it's for the generated JS. I don't know if that is usable in the meantime...

chochos avatar Nov 09 '15 19:11 chochos