Visual Studio Code Debug Nodejs Launch vs Attach - macos

On Windows 8 I can debug a Nodejs app using launch.json without issue. However, on OSX I am forced to attach to a process instead. If I try to Launch a debugging session on OSX I get the error message:
"cannot launch 'node' in debug mode."
What am I doing wrong?

In early versions of VSCode we've seen a timing issue on OS X that would result in the error message. Please upgrade to the latest VSCode (0.5.0) and try again.

Related

Golang dlv debugger stopped working after intel mac 13.2 ventura upgrade

Ever since I upgraded my intel mac to 13.2 Ventura, my golang debugger is no longer working.
go -> 1.18
dlv -> 1.20.1
When I try to attach to the go process, I am getting an error message as 'could not attach to pid 19474: stub exited while waiting for connection: exit status 0'
When I try to debug directly via dlv, it allows me to set my breakpoint, but the process never stops on that breakpoint.
any ideas would be greatly appreciated.
I have re-installed command line tools, re-installed my goland IDE, and made sure that my dlv version is the latest.

R Studio Won't Install on MacOs HighSierra

I just downloaded RStudio and I am not able to start the application. I've tried moving it into applications and redownloading but I am getting the same error message. Here is the error message I received "[No error available]. It is also saying [No output emitted] and [No logs available]. I also tried downloading on another mac and it gave me the same error. I am using version RStudio 2022.12.0+353 "Elisbeth Gernaium" (7d165dcf,2022-12-03)(Rstudio version) and my mac is running High Sierra 10.13.6. Any help would be greatly appreciated.
I tried moving it into applications, deleting and then re downloading, and restarting my computer. I was hoping this would allow me to use R Studio but I am still getting the same message.

How to fix dsymutil in Xamarin

I am trying to build the iOS App on a real device but unfortunately I get hit by a
dsymutil exited with code 1
Things I did:
I did search google but it says my Harddisk is full which is not the
case.
I did try to clean and build multiple times - No success
I did try to reinstall CommandTools by using command xcode-select
--install - No Success
I did remove the CommandTools and then did the reinstall - No Success
Just an FYI
I am using Xcode 11.4 Beta 2
I am logged in with my Apple Account on the Xcode
What my cause this issue?
Any other info you would like to ask do ask.
Thanks
Build Log:
CIS.iOS -> D:\VS Projects\CIS\CIS\CIS\CIS.iOS\bin\iPhone\Debug\CIS.iOS.exe
Detected signing identity:
Code Signing Key: "#####"
(7ECA06BC28377204C91D2E63E69C233982161B28)
Provisioning Profile: "Development" (5aa7573d-6dc8-43e4-9bb0-c65efc5a361a)
Bundle Id: com.#####
App Id: 37M96SGRTW.com.#####
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch #/Users/zilon/Library/Caches/Xamarin/mtbs/builds/CIS.iOS/0e17d2ede92713351eb68ac0146dd15c/obj/iPhone/Debug/response-file.rsp --gcc_flags=-ObjC
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): warning MT4174: Unable to locate the block to delegate conversion method for the method CIS.iOS.AppDelegate.WillPresentNotification's parameter #3.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil -t 4 -z -o bin/iPhone/Debug/CIS.iOS.app/../Protobuf.framework.dSYM bin/iPhone/Debug/CIS.iOS.app/Frameworks/Protobuf.framework/Protobuf
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(963,3): error MSB6006: "dsymutil" exited with code 1.
Here is the solution:
I went inside Xcode.
Preferences>Locations> Command Line Tools. Mine was on 13.2, needed to
upgrade to 13.3 (Thought I already had but it must not have done it
automatically)
Click here for more details
Check for Xamarin.ios version, mine was incompatible with visual studio Mac
i changed it when I was debuging on a windows machine connected to a Mac and VS windows said if I wanted to download compatible version, clicked yes and it downloaded and installed on the Mac computer
After that, I wasn't unable to debug on physical devices
suddenly after almost giving up a "Xamarin.ios update is ready, click to install update" came on VS Mac
after that I got no errors
This discussion was very helpful. I also had to make sure my VS for Mac updates were all installed. Once they were, everything needed to align just right, it worked.
We have resolved this issue now. All we did is we just updated Xamarin.iOS, Mono Framework MDK and Visual Studio for Mac to the latest versions.
Just go to Visual Studio → Check for Updates and then update all.
Source: xamarin_forums
The error is kind of a hair puller.
So here is how I did it
First I uninstalled ALL of the XCODE
I followed this article on stackoverflow
After that I downloaded the Xcode from Apple from this article
Also download the CommandLine tools for that version. After that it worked and now I am not getting any error.
Remember this that CommandLine Tool versions should also match. 11.4.2 will not work with 11.3.1. I tested this and wasted alot of time.

Goland Debugger not working with go version upgrade ( v1.11 -> v1.13) on mac

I upgraded golang from v1.11 to v1.13 in mac (mojave OS). The debugger started throwing error Test framework quit unexpectedly. The console output was
API server listening at: 127.0.0.1:xxxxx
Version of Delve is too old for this version of Go (maximum supported version 1.12, suppress this error with --check-go-version=false)
Debugger finished with exit code 1
I am unable to use debugger on goland since then, however delve as cli command is working. Dont know how to proceed? Also I cannot find any option to disable --check-go-version in goland?
Update your IDE to GoLand 2019.2.2 or newer and the issue will be solved.

cannot launch debugger on macos using codelite

I get the pop up "Failed to start terminal for debugger".i have set the gdb path in the gdb options of codelite. Is there anything else to be done?
My mac os version is 10.10.4
GDB version installed under /usr/local/bin/gdb - version 7.8.1
The c project created a simple hello world to test the codelite usage on mac os and unfortunately not able to launch gdb.The compilation is going through fine
On OSX, the recommended the debugger is LLDB.
Please use it instead.
Project settings->general->Debugger, and select "LLDB Debugger"
EDIT, Sep 06:
I have uploaded a new OSX build (8.2.3) with this problem fixed.
http://codelite.org/support.php

Resources