watch

Wave Watch 3 Fortran Compile Problem

Hey guys and gals, I'm just setting up the new WW3 and have compiled and run the test case 'ctest' and that works fine. Then when I try and compile and link one of the main programs I get the following error message.. ----compiling WAVEWATCH III---- Scratch Directory : /home/ww3/scratch Save source codes : yes Save listings : yes P...

See substring in debug watch

Is it possible to see a substring of a string when looking a string in the Watch window during a debugging session? ...

Seeing named datacolumns in Visual Studio debugger?

When I'm debugging a datatable, say in the watch window, I'll often choose the Rows property, and then a particular index-- 0 or 1, often times. When I do that, I see an ItemArray list with numeric indexing, representing the columns for the row. But the columns have names, and I'd like to see them. So instead of myTable.Rows[0][6] ....

How do I watch a folder for changes and when changes are done using Python?

i need to watch a folder for incoming files. i did that with the following help: http://stackoverflow.com/questions/182197/how-do-i-watch-a-file-for-changes-using-python the problem is that the files that are being moved are pretty big (10gb) and i want to be notified when all files are done moving. i tried comparing the size of the fold...

How can I make the watch command interpret vt100 sequences?

Consider this simple example (which displays in red): echo -e "\033[31mHello World\033[0m" It displays on the terminal correctly in red. Now consider: watch echo -e "\033[31mHello World\033[0m" It does not display the color. Note: I am aware that it is easy to write a loop that mimics the basic behavior by clearing and rerunning. How...

How to see variable in calling function in visual studio?

Hi all, Does anyone know how to watch a variable in calling function. For example: C#: void fn a() { int myVar=9; b(); } b() { Throw new Exception(); } How can I watch myVar when I get the exception in function b?? I have a really big recursive function with in a loop and get an exception in one iteration. I don't know which iterati...

Are there design-time watch windows for Visual Studio 2008/2010?

There are many times when I need to test a little snippet of .net code but rebuilding and publishing the entire project or writing a suite of unit tests just seems like overkill. For example, I am writing a regular expression right now and I want to see if it the pattern is matching on the right parts. I could go and find a million other...

vb.net how to check for changes in folder upon application start?

while the application is running i'm using FileSystemWatcher to monitor the folder. But what if there are changes to the folder when the application is not running, how can I check for these changes when the application starts. (similar to how windows media player, for example, monitors your music folder. Even when you add songs to that...

__defineSetter__ on innerHTML stops it from rendering

Hi, i'm trying to create a watch method for HTML elements, using __define[GS]etter__ when a property is changed. It reacts just fine when i set the value, but if the property listened to, is innerHTML, it somehow fails to render the given string. So basically, when im adding something to innerHTML it doesn't show. Im using the watch me...

Problem with debug watch in Visual Studio with yield return enumerator methods

I have a method which returns an IEnumerable<> which it builds up using the yield return syntax: namespace Validation { public class UserValidator { public IEnumerable<ValidationError> Validate(User user) { if (String.IsNullOrEmpty(user.Name)) { yield return new ValidationE...

How to debug applications using COM interfaces?

I' building an application using C# which will use CATIA COM modules. When I import the COM inside my c# project, I think that Visual C# express generates the Interop automagically for me. All of this works correctly. However, when I try to debug the application and use watches during runtime, every object is a System.__ComObject and I ...

NSDictionary inspect in debug

Hi all! I wish look inside my NSDictionary during my debug operation...what is the fastest and best way to do this?? xcode doesn't have a watch like visual studio to look the objects? thanks! ...

Why are my VS2008 watches showing incorrect values?

I have a string variable and a string constant. Both should be the same value (I'm testing for equality in a conditional). The 'correct' values of both should be "scl". While debugging, if I put a watch on each, look at them in the 'locals' windows, or hover over them, the value displayed is "sd", which is the value of a different consta...

Java: Watching a directory to move large files

I have been writing a program that watches a directory and when files are created in it, it changes the name and moves them to a new directory. In my first implementation I used Java's Watch Service API which worked fine when I was testing 1kb files. The problem that came up is that in reality the files getting created are anywhere from ...

Javascript: Mozilla .watch() functionality for all properties of an object (possibly cross-browser)

https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Object/watch The .watch() method does this in short: "Watches for a property to be assigned a value and runs a function when that occurs." Long descriptive form: "Watches for assignment to a property named prop in this object, calling handler(prop, oldval, newval)...

Is there an ANT task for watching a directory for changes?

It sounds a little far fetched to me, but is there an ANT task for watching a directory for changes and then running a particular ANT class when the directory changes? ...

In Visual Studio 2008 using C# how do I set a watch on a property?

In Visual Studio 2008, I am using C# if that matters, how do I set a watch on a property so I see whenever the value changes during execution? ...

Entity framework : Watch changes saved on my objects

Hi, For my project, I have to log all changes made on my objects, through the entity framework. This consists just to register which fields have been edited on which table at which time. Roughly, put changes in a table with this kind of structure: IDEvent, EventDate, TableName, RowID, FieldName, OldValue, NewValue If there is multiple...

No symbol "color" in current context. GDB

I am trying to debug code using gdb, but when I try to watch my variable color it say this No symbol "color" in current context. The variable is a int and is clearly in the scope. the code is as follow int color=0; if(color==0) color=1; and my debugger is passed the declaration of the variable. I am only doing, with a break poi...

Search ability within Watch in debugging?

Just wondering if there is the ability to search while in watch? Instead of going through a million tree nodes, if I could simply search for the result and then it opens up the tree accordingly? Just wondering if something like this is possible? (and if not, why not?) ...