ide

How to set Eclipse watchpoint to activate when object/primitive changes?

久未见 提交于 2019-12-09 13:13:25
问题 I'm trying to refactor some rather horrible code at the moment. It's passing around objects in a very convoluted manner I can't keep track of and apparently directly accessing primitives within the objects at some other location in the code. I'm trying to figure out how I can use the debugger to find out when/where an object I'm interested in is used after it gets passed into the confusing black box of code which passes these objects. What I would like is a way to set a watchpoints that

How to stop visual studio from updating assembly references?

江枫思渺然 提交于 2019-12-09 12:55:47
问题 In our environment we have a Lib folder which contains various third party assemblies referenced by our projects. For example, Enterprise Libary and Elmah. Sometimes a dev doesn't do a get latest on that folder. When the dev then loads a project which can't find the assembly in the expected folder, Visual Studio automatically locates another copy and updates the project references. The problem occurs when the dev checks in the project and it screws everyone else up. Is there a way to stop

Screen + vim causes shift-enter to insert 'M' and a newline

泪湿孤枕 提交于 2019-12-09 10:23:51
问题 When running a vim instance in gnu screen hitting shift enter in insert mode adds an 'M' and then a newline, rather than just a newline. Does anybody know what the problem might be, or where to look? Relevant system info: Ubuntu 8.04.1 Screen version 4.00.03 (FAU) 23-Oct-06 VIM - Vi IMproved 7.1 (2007 May 12, compiled Jan 31 2008 12:20:21) Included patches: 1-138 Konsole 1.6.6 (Using KDE 3.5.10) Thanks to the comments. When checking the value of $TERM I noticed that it was xterm (as expected)

How to Display Current Function in Eclipse

馋奶兔 提交于 2019-12-09 07:43:16
问题 I miss a certain functionality in Eclipse. I would like to know the name of the current function the cursor is currently inside. This is useful when browsing unknown code using the search function, for example. Any idea how to show it? Maybe a plugin? 回答1: I'm using the "Toggle Breadcrumb" option from toolbar: It shows a nice breadcrumb, ending with current function name. It's quite handy for me, as Outline becomes cumbersome to use if you have zilions of functions. It produces the following

Could “attach source” be made easier for popular Java libraries?

风格不统一 提交于 2019-12-09 07:13:20
问题 I run into this obstacle when my debugger steps into some classfile without corresponding source. Finding it is often difficult: You have to search for the site hosting the respective project, and find its ``download source'' page (for instance, last time I searched for the JPA API, and it took me hours to obtain the sources). Or, you might be required to check it out from revision control. You need to know the exact version you are using. Otherwise the debugger might step into comments and

PyCharm - run a corresponding unit test each time a file is saved

瘦欲@ 提交于 2019-12-09 06:54:16
问题 I have just switched over to using PyCharm as my primary Python editor, and am curious to know how I can configure it so that every time I save a file, that the unit-test corresponding to the modified file will be run? (after poking around the documentation, I have not found a clear explanation of how to do this) 回答1: You can try File Watchers plugin to execute task on files modification. example config: 回答2: When you run a unittest you get a new unittest window. In this window there's a

How to disable the Issues pane in Qt Creator?

泄露秘密 提交于 2019-12-09 06:38:21
问题 I find it easier to work with compiler output but the Issues pane in the Qt Creator pops up automatically after every compilation, hiding the useful information, forcing me to hide it every time. Is there a way to disable this behavior? I don't mind the errors being collected, I just don't want this particular piece of UI to show up every time when I don't ask for it. I'm using the Qt Creator 3.5.0 but it was like that in the earlier versions, too. 回答1: click by last icon arrow up/down will

IDE for Objective C

主宰稳场 提交于 2019-12-09 05:54:42
问题 What are the IDE's or development tools best suited for projects involving Objective C, C and C++? Is there a common IDE which would support all the three languages. 回答1: If you are using Objective-C for macos or iphone apps it seems there is no way around Xcode from Apple. Xcode has many tools like an Iphone emulator and a profiler for Iphone and macos applications. For c and c++ I personally would use Eclipse 回答2: Xcode, KDevelop, Cocoatron, GNUStep If Objective-C is your main goal, and you

Simple JavaScript IDE

老子叫甜甜 提交于 2019-12-09 05:39:24
问题 I am brand new to JavaScript and I would like practice my skills using a simple windows based IDE. While learning I do not want to use any CSS or HTML. I would like if possible to have colour single stepping, highlighting and syntax checking. So for example you could type in your function(s), call it and receive the result function squareNumber(x) { return x*x; } squareNumber(5) 25 I would like something better than the Internet Explorer console. 回答1: There are a lot of good online IDEs at

How do I get a code window to split vertically in Visual Studio 2008? (not HTML mode)

被刻印的时光 ゝ 提交于 2019-12-09 04:31:07
问题 In Visual Studio 2008, it seems that Window -> Split only gives me a horizontal split, and Window -> New horizontal tab group does not allow me to edit the same file in both panes. Note that I am talking about C# code windows, not HTML editing mode. I want to edit the same file in two horizontally arranged panes. Is this possible? Free add-ons are fine. Edit: I have CodeRush Express installed, and it seems to have done something to my code window borders. Edit #2: It's not CodeRush. I tried