debugging

Can't see Acrobat JS console when PDF is in an FF browser window.

Windows 7 (64 bit), Acrobat Pro 9.4(32 bit), FF 3.6.11(32 bit) In Firefox, I briefly see the JS console flash and then vanish... but it stays empty. IE will show the JS console if it's already open, and displays a brief error message and then crashes Acrobat: "Exception in line 18 of function top_level, script Page:Open". I don't hav...

Please help me debug my sql query!

I keep on getting the error "incorrect syntax near keyword 'where'." DoCmd.RunSQL "insert into userPreferences (userId, GroupId, preferenceId, properties, isDefault)" & _ "select " + Me.UserId + ", " + Me.GroupId + ", preferenceid, properties, 1 from preferences " & _ " where preferenceId not in " & _ "(selec...

Bug in PhotoScroller code from WWDC 2010 Session 104 - Designing Apps with Scroll Views

I am trying to track down a bug in the sample code provided for the WWDC Session 104 - Designing Apps with Scroll Views: "PhotoScroller" It is a mutated while being enumerated error that only happens on occasion when paging from a zoomed image to one of the other images. I am using part of this code in one of my apps and am desperately ...

Valgrind won't return source lines!

I've tried running valgrind (memcheck and massif) on an app I wrote, but all I get back are addresses for the functions that executed. --------------------------------- Context accounted for 0.6% of measured spacetime 0x805F29A: (within prog_name) 0x8141740: (within prog_name) Called from: 0.6% : 0x812E077: (within prog_name) ...

iPhone Apps exit straight away with status 45

For some reason today every iOS app that I try to debug on my device crashes straight away(the loading screen will show for a second) with exit code 45 when I build and run from xCode. This was working fine when I went to bed last night. Now it happens with every single apps even something like a hello world one. The run fine on the simu...

Debugging Python within Ableton Live

How can I see script errors for my python MIDI Remote Scripts in Ableton Live? I've seen references online to a hidden Python console, but no documentation on how to open it, if it would even help me! Currently I type code, reload the script, and see what happens. If nothing happens, then something is wrong. Very tedious... Edit: I ...

issue with debugged application output in gdb

HI All I am doing my first steps with GDB in TUI mode. During the debug session I see that each line outputted to console occurs in a single line (in the picture you see 222222 highlighted in red ). It is like having an output pane of one single line. On top of that each \n doesn't cleanup that line so all the strings do overwrite eac...

How to see the javascript errors of PhoneGap app in Xcode?

I want to debug my PhoneGap app in Xcode, but its Console can not show javascript errors. ...

Visual Studio Remote Debugging on XP Embedded - tried everything, please help!

I need to debug some C# code on a remote machine running XP Embedded. I did remote debugging on several occasions on different Windows operating systems and all worked well, but I think that the XP Embedded OS is missing something. I'm popping my brains out in the last couple of days, reading and trying stuff, but nothing seems to work...

How transport to dev team software crash'es from remote clients machines?

Hello, I searching people who know some experience with bug tracking on client machines, if my application works on many client machines who i don't have to it any access. I have in my application very huge debug logging feature, but in many cases this is to less to good detect problem of crash without very bigs and unreadable logs, the...

How to debug WCF Data Service?

Hi, I have created a WCF Data Service and using it in a web application which is the part of same solution. The WCF service holds the reference of another DLL(Utility.dll) which is also part of the same solution. I have added the service reference of the WCF service in the web application. So the structure is Solution | |-...

Tool Roundup for Debugging JavaScript

What techniques (other than alert(message);) do you use to debug JavaScript/jQuery? Give particular attention to browser specific techniques. Tools console.log(message) - alternative to alert(message); (Nirmal) browser-safe call (soslo) jsFiddle - demonstrations (Craver) BlackBird - writing messages to the screen (Oli) FireFox F...

symbol table for debug in windows

Hello, I want to compile and use Visual studio for checking an unmanaged C++ on windows program. I am using ADPlus and WinDBG. For doing this I need a .pdb file amd to configure the symbols of my debugging. How u can configure it (to local machine and not the net) ? ...

How to debug Flash/Flex in two browsers?

Hi Flash experts! I have a Flex 4 application which connects to ASP.NET webservice based on FluorineFx. It is authenticated by cookies via RemoteObject.setCreadentials() Both applications connect to FMS server and talks to each other via RTMFP direct connection (P2P). I want to debug both instances of this application in Firefox and I...

Can anyone help me interpret this simple disassembly from WinDbg?

Hi friends, I got the following simple C++ code: #include <stdio.h> int main(void) { ::printf("\nHello,debugger!\n"); } And from WinDbg, I got the following disassembly code: SimpleDemo!main: 01111380 55 push ebp 01111381 8bec mov ebp,esp 01111383 81ecc0000000 sub esp,0C0h 01111389 53 ...

Howto get source line from python generator object?

Here is an example: def g(): yield str('123') yield int(123) yield str('123') o = g() while True: v = o.next() if isinstance( v, str ): print 'Many thanks to our generator...' else: # Or GOD! I don't know what to do with this type # raise TypeError( '%s:%d Unknown yield value type %s.' % \ ...

JNI C++ Debugging Techniques?

I have a Linux C++ application that creates a JVM and makes JNI calls. I am new to JNI, and so far I the only effective way I have found to debug my application during development is by trial and error. What are some techniques to use to debug the infamous "A fatal error has been detected by the Java Runtime Environment" Java VM crashe...

How do I debug a CUDA library with only 1 graphics card running X11

I'm running a CUDA library that I need to debug for memory problems and other issues. But when I attach cuda-gdb to the process I get the error error: All CUDA devices are used for X11 and cannot be used while debugging. I understand the error, but there has to be a way that I can debug the issues. Since I only have 1 GPU, it real...

Debugging C applications in MonoDevelop fails

Hi, debugging in MonoDevelop does not work for me. First of all, I have installed MonoDevelop, GNU Debugger plugin and ctags through Ubuntu software center and I'm using Ubuntu 10.10. When I press "Debug" it goes into debug mode but very quickly returns to "normal mode". My simple application contains some scanf so it should wait for i...

Is there a way to link or export Visual Studio javascript breakpoints to Google Chrome?

In VS i can set breakpoints on javascript code, which are correctly interpreted while debugging with IE. Is there a way to do this with Google Chrome? ...