nsight eclipse for mac lion调试错误 [英] nsight eclipse for mac lion debug error

查看:369
本文介绍了nsight eclipse for mac lion调试错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用nsight eclipse版本的mac来调试我的cuda代码。我能够运行cuda-gdb所有罚款从终端,但不能使用Nsight中的调试功能。每当我开始调试,一个错误窗口弹出说最终发射序列错误
连接关闭。我的操作系统是Mac Lion(10.7.4)。

I am using nsight eclipse edition for mac to debug my cuda code. I was able to run cuda-gdb all fine from a terminal but was not able to use the debug function in Nsight. Whenever I started to debug, an error window pops up saying "Error in final launch sequence Connection is shut down". My OS is Mac Lion (10.7.4).

我理解Cuda 5.0中的大事是使用eclipse进行交互式调试,但很遗憾,除非我切换到Windows或Linux,否则我将无法使用它。如果任何人看到这个或知道一个解决方法,请让我知道,你的帮助将非常感谢。

I understand the big thing in Cuda 5.0 is the interactive debugging with eclipse but sadly I won't be able to use it unless I switch to Windows or Linux. If anybody has seen this or knows a workaround for this, please let me know and your help will be very much appreciated.

谢谢!

推荐答案

我恐怕你在CUDA 5.0工具包中遇到了一个已知的问题。由于某些最后一分钟的更改,cuda-gdb(这是一个shell脚本)在Mac OS X中不是完全有效的。要解决此问题:

I'm afraid you've hit a known issue in CUDA 5.0 Toolkit. Due to some last-minute change, cuda-gdb (which is a shell script) is not entirely valid in Mac OS X. To remedy the problem:


  1. 编辑cuda-gdb shell脚本。

  2. 在此脚本的第一行添加行#!/ bin / sh

  3. 保存更改

对不便这个(和许多其他)问题将在即将到来的CUDA 5.0 RC版本中得到修复。

We apologize for inconvenience. This (and many other) issues will be fixed in the upcoming CUDA 5.0 RC release.

这篇关于nsight eclipse for mac lion调试错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆