-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breakpoints issues #2
Comments
Thank you! I'll look into these issues soon. |
These are my own project files, connected via |
I tried to reproduce this issue with simple program and have not succeeded, everything worked fine. Could help me investigating this more?
|
Hi, Running experimental instance of MSVS (tried both in run mode and connect mode, both auto and document) results in an immediate crash when a breakpoint is triggered. It didn't crash when I used release version of debugger from the gallery, and also it doesn't crash on my own project. Running normal instance of MSVS:
So, to me it feels like something doesn't clean itself up. Also, the MSVS crash (not exception, but crash) is really creepy (), and it looks like it replaces the empty call stack issue (no. 2) for the sample project. Let me know if you need anything else. |
Thank you for detailed response. Unfortunately I still cannot reproduce this issue on my machine. But I have received similar bugreport from another person. I am going to add logging (and tracing) to the code soon, and track down where this bug is. |
Thanks, looking forward to it. |
Hello! Sorry for very long delay. Please try the latest version from my “master” branch. I hope this will make things clear. |
Sir, hello And the log is: Created 2013.04.25 07:12:16.951
"script": { |
Thank you! This log looks fine, so far... Could you send me *.json logs? From the same folder. These files are larger, please use any file-sharing site or send directly to my e-mail. And a couple of additional questions: |
Sir, I only installed Microsoft Web Developer Tools and Web Essentials 2012 extensions and the output of main.js from the sample project is: тест юникода 0 D:\repo\NodeVsDebugger\Sample\main.js:44 I also tried comment those problematic code and a very simple hello world program, but the results are the same, breakpoints were hit then visual studio hang. |
Thanks omgtehlion and LordJZ for your work on this. It looks like an awesome project! Is there any way to debug Typescript in a node app yet or should I just wait for this issue to be resolved? |
@robianmcd, you can try version from this branch: https://github.com/LordJZ/NodeVsDebugger/archive/master.zip |
@omgtehlion Thanks for the advice. I tried using that branch but only had a little bit of success. I can debug from my server side typescript files but only if I set the breakpoints in the javascript files. Also I can't seem to hit any breakpoints in client side javascript or typescript files. |
@robianmcd, thank you for your feedback! Typescript support may be currently incomplete, but when I have some time I will look into it. Or maybe @LordJZ will develop it further. About client side: this extension currently deals only with debugging NodeJS. Since client-side script executes in browser, we cannot debug it. Maybe in the future combined debugging will be available though. |
Ah I didn't realize it was possible to debug client side code without your plugin but I dug around and figured out how to do it. So now I can just debug normally from VS when I want to debug client side code and debug with your plugin when I want to debug server side code. Not perfect but it'll get the job done for now. Thanks a lot for your help and for working on this plugin! |
Hi,
I'm experiencing weird breakpoint behavior.
First issue: Breakpoints set before starting debugging are not usually taken into account. This happens because DebuggedProcess.SetBreakpoint is called before Modules are loaded (i.e. before a series of afterCompile events).
Second issue: Breakpoints set in a file that is not node.js entry point don't properly break. The process breaks, but no location in code is shown (instead you see another window: Source not available - Code not running), and call stack is empty.
I'm running 64-bit node.js v0.8.22 on Windows 8, and developing in MSVS 2012.2 CTP 11.0.60115.01.
P. S. I've started developing support for source maps and typescript here but these issues are blocking me.
The text was updated successfully, but these errors were encountered: