这是任何方式来运行调试器的两个实例? [英] Is it any way to run two instances of debuggers?

查看:204
本文介绍了这是任何方式来运行调试器的两个实例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作在一个项目,是一个多人游戏,并且它运行在卷云。

I'm working in a project that is a multiplayer game, and it runs on Cirrus.

这将是很好的运行游戏的两个实例,不仅是进行调试,但Flash Builder中,当我发送一个新的调试呼叫停止单调试实例。

It would be nice to debug both instances of the running games, not only one, but Flash Builder stops one debug instance as soon as I send a new debug call.

你有什么想法,如果有一种方法让在同一时间运行?也许oppening 2闪光建设者2调试情况..但它说,一些有关的工作空间。

Do you have any ideas if there is a way to have 2 debug instances running at the same time?, maybe oppening 2 Flash Builders.. but it says something about the workspace..

不知道是否有什么我要问是可能的。

Dont know if what Im asking is possible.

谢谢!

推荐答案

哎呀,不好意思,之后我说这个,我发现

Whoops, sorry, immediately after I said this, I found that

调试器是与应用程序进行通信的试剂   运行在Flash播放器。它连接到一个应用程序   本地套接字连接。这样一来,您可能需要禁用   如果您的防病毒软件prevents杀毒软件来使用它   套接字通信。调试器使用此连接来传输   从SWF文件信息的命令行,以便您可以添加   断点,检查变量,以及执行其他常见的调试任务。   通过调试器连接到您的应用程序的端口   7935.您不能更改此端口。

The debugger is an agent that communicates with the application that is running in Flash Player. It connects to your application with a local socket connection. As a result, you might have to disable anti-virus software to use it if your anti-virus software prevents socket communication. The debugger uses this connection to transfer information from the SWF file to the command line so that you can add breakpoints, inspect variables, and do other common debugging tasks. The port through which the debugger connects to your application is 7935. You cannot change this port.

不过,我会考虑的来源,它不应该是很难建立FDB用不同的端口设置。

But I'll look into the sources, it shouldn't be that difficult to build fdb with a different port set up.

编辑:

确定,它看起来像什么,你需要做的就是简单地运行FDB是这样的:

OK, it looks like what you have to do is simply run fdb like this:

$ ./fdb -p=9090

9090 - 仅仅是一个随机选择的端口号,则需要再右键单击您的SWF正在调试,并配置它连接到本地主机:9090

9090 - is just a randomly selected port number, you would need then to right-click your SWF you are debugging and configure it to connect to localhost:9090.

EDIT2:

如果它不工作,那么第51 $ {SDK} /modules/debugger/src/java/flash/tool​​s/debugger/concrete/DProtocol.java更改为不同的端口,然后重新生成SDK(也许你可以建立仅调试工程,但只是确保),你就会有另外一个版本的调试器,将连接不同的端口上。

If it doesn't work, then change line 51 in ${SDK}/modules/debugger/src/java/flash/tools/debugger/concrete/DProtocol.java to a different port, and then rebuild the SDK (probably you can build only the debugger project, but just "to make sure"), you'd have yet another version of debugger that will connect on a different port.

这篇关于这是任何方式来运行调试器的两个实例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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