-
Notifications
You must be signed in to change notification settings - Fork 96
Show native code if source not available #23
Show native code if source not available #23
Comments
@jamietre this has been fixed in VS Code 0.10.8 (January release). |
I had noticed 👍 I am unfortunately not able to get source maps to work at all any more again (I believe as of the January release). One of the consequences of this new feature, unfortunately, is that it makes it harder to determine the cause when source maps aren't working, since I don't know if they are not working because the source can't be located, or there's some other issue with the source map, or vscode just isn't trying to use a source map for some reason, perhaps config related. Not sure if this is related. I made a feature request to support source maps with inline source code, as there seem to be many challanges in supporting source maps with external source code, with either vscode, or tooling support for generating the correct source map structures, or both. |
I just saw update to 10.8, HUGE THANKS for moving the console window to the bottom! Amazing improvement! Also I think I understand what has happened with source maps. I am not sure if this was the case just for the previous release, or if it's different now.
In the prior release, breakpoints weren't actually working (at least for me) so I had been using In the version just released, breakpoints are working, and the source code is correctly shown when I use breakpoints in the source, but the compiled code is shown when it breaks on a |
@jamietre breaking on a debugger statement should not behave differently than breaking on a breakpoint. If it does then please file a bug. |
Will do. |
.. @weinand I am experiencing the problem of "debugger" statements showing the compiled code rather than the source frequently, but it's not consistent. That is, a given "debugger" statement will always show either the correct or incorrect file, but I can't figure out why it happens in some files and not in others. When I created a trivial app to try to reproduce it, I can't. So it must have something specifically to do with the structure of the files in the app I'm working with. I wanted to just check to be sure I'm still the only one experiencing this before I spend a lot of time trying to create a standalone app that can repro it. |
@jamietre which version of VS Code are you using? |
0.10.8 |
If a source map is not resolved correctly for a given file when debugging node, VSCode shows "Source is not available."
Is it possible to just show the actual code being executed in these situations?
The text was updated successfully, but these errors were encountered: