Hello.
Simple situation(VS2005, .NET2): I have a textBox1 on a panel1. I need to track all the emitted events from this textBox1.
Actually, when I need to track a single event(TextChanged, by e.g.) from this textBox1 I add a handler to the (TextChanged event) I set then a non-blocking breackpoint that writes on the output console a mes...
static void Job(Args _args)
{
int number=10;
do
{
print (strfmt("current number = %1", number));
number --;
}while (number != 0)
}
This is a job just for testing do-while in X++ , and I get a "syntax error" in the last '}'
I'm new to Dynamics AX and to X++, so I don't know if there's something...
After I've shut down a VS 2008 web project, well, a lot of times, I see many instances of the WebDev icon in the "tooltray" / system notification area:
These are no longer active instances; they were shut down by VS.
When I mouse over any of these, Windows Vista "conveniently" collapses the tray for me. This makes life miserable if t...
I'm facing some troubles still while learning, so I guess it tends to get worse once I play with the big kids: warnings in dynamics aren't as precise and informative as VS's, there are no mouse-over tips, and exceptions to show me exactly where I've got it wrong.
I'm just too used to Visual Studio, it's intellisense and all the tools (dy...
I'm tired of using the eye-squinting, time-consuming Exceptions dialog in Visual Studio to turn break-on-exception filters on and off. I looked for a Visual Studio command to help automate this from the Command window, but no luck.
Does anyone have a technique for avoiding the Debug->Exceptions dialog yet get access to its functionality...
hi all,
I have a strange situation in my application.
I have a service that needs to return some value from the DB.
My service calls to some method in a singleton (by using the GetInstance method).
For the purpose of debugging i wrote logging messages in every method along with a view of the call stack.
While debugging i noticed somet...
I have a really big data structure with a lot of fields in it.
I want to save its fields to later compare with later values; but I can't print the content to console, because it's too much code to write by hand. (I have roughly 1k fields.)
How should I solve my problem?
...
I am using the debugger (vs2008).
Once I've stepped into a catch statement, I would like to know if there is any way to set the execution cursor back to the beginning of the try.
Just dragging it there doesn't seem to work, is there some setting I need to change?
Example:
Try //Want the cursor back here
{
}
Catch
{
some code // c...
I'm starting to develop a simple application in VS9 and I decided to use WPF and the MVVM paradigm for it.
Still being a bit unexperienced with VS deveopment in general and WPF-controls in peculiar, I would like to ask how I should proceed to establish a little debug console window that takes perhaps 1/4 of the main window and sits kind...
I'm not sure if 'debugging' is the right word, but I'm looking for a tool/IDE that would show my which statement/block will be executed next in a particular module. This feature I remember was available in Turbo C++ years back so I assume something similar might be available in some Python IDE?
Thanks
...
When using PostSharp with a Referenced Assembly with proper PDB info( checked with chkmatch), it seems strange that the debug info gets lost by VStudio build and post compile process and I get the following error by using chkmatch to compare the assembly after the vstudio build.
Error: Debug information not found in the executable.
So ...
I'm working on software for a company that doesn't ever file bug reports, the only complain, "so and so isn't working." Sometimes I can figure out what they're talking about, sometimes not. My pleas for screenshots and more details fall on deaf ears (once they did take a screenshot, then printed it out, scanned in it with their fax machi...
I'd like to include some debug information in an application, but hide certain symbols from appearing. Is there any way to do this with GCC 4.0 (or 4.2)? This is on OSX.
...
Is there a way to debug a function that is defined dynamically in run time?
Or at least is there an easy way to find out where this function is produced?
Update to give more detail:
I used inspect module:
ipdb> inspect.getmodule(im.get_thumbnail_url)
Out[0]: <module 'django.utils.functional' from 'C:\java\python\Python25\Lib\site
-p...
NSXMLTypeStore is used when starting Core Data backed application by default because it's good for debugging purposes. But practice dictates that developer should use either NSBinaryStoreType, NSInMemoryStoreType or NSSQLiteStoreType store types in release builds.
How do you manage changes between debug and release builds? I believe tha...
My application crashed recently on a client's computer. I suspect it's because of PyQt's own memory management, which can lead to a invalid memory accesses when not properly handled.
When Python crashes like this, no backtrace is printed, only a data dump is written to the disk.
Is there a possibility to find out where in the Python co...
Hi.
I want to compile an application with debug information using gcc and gdb. When I do the following, the debug (.dSYM) files are generated correctly:
gcc -ggdb src/test.c -o build/test
If I, however, split this into a compile step and a link step, like this:
gcc -ggdb -c src/test.c -o build/test.o
gcc -ggdb build/test.o -o dist/b...
I am working in a software company on a system software product. Day before yesterday that product got crashed and core shown.
To findout exact problem, I want to know full core stack with function names(kernel32.dll, ntdll.dll .. not showing function names). I have downloaded WINDOWS debug symbols from Microsoft site.
http://www.micro...
In one of my templates I want to take a closer look at the controller object using the debug() helper.
It is said to produce YAML suitable for HTML output.
Running <%= debug(controller) %> does, however, not produce anything I call readable.
It begins with:
#<ClubsController:0x104467378 @_request=#<ActionController::Request:0x1044676...
Hi all,
I'd like to save the commands for a breakpoint in a .pdbrc, something like:
b 81
commands 1
pp foo.attr1
pp foo.attr2
end
b 108
commands 2
pp bar.attr1
pp bar.attr2
end
This would automate setting the environment for the debugging session. However, this does not work with 'python -m pdb script.py', because at the ...