[英] C++ NetBeans Run-Configuration passing arguments-issue

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

问题描述

当我想要使用IDE中的参数运行程序时,我可以这样做:
ProjectProperties→运行→参数,并在其中输入参数。

When i want to run a program with arguments out of the IDE i do this: ProjectProperties→Run→Arguments and type my arguments in there.

但是如果我想调试,NetBeans将忽略这些参数。

But if I want to Debug, NetBeans ignores these arguments given there.

那么如何使用命令行参数调试项目给出?

So how can I debug a project with command-line-arguments given?

推荐答案

我与 Netbeans 6.9 6.8 ,发现解决方案是更新 Netbeans

I had the same issue with Netbeans 6.9 but not 6.8, and found that the solution was to update Netbeans.

http://forums.netbeans.org/ topic36082.html

这篇关于的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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