ADM dialog hangs but on debugging it works fine. Can't spot the problem
Hello,
I have developed an automate plugin which submits a design on a server using libcurl library. There is a dialog(made using ADM) to submit a design which consists of a submit button and a progress bar. On clicking the submit button, the progress bar starts getting updated. When the progress bar is completely updated the dialog seems to hang. The dialog is supposed to close after submit. The obvious way to search for the problem was to debug the source code, but it appears that whenever the source code is debugged then it runs smoothly. But without any debug points the problem reverts. How can we spot the problem without debugging?
Please guide.
In developing plug-ins over the past years I have encountered a few cases where the presence of the debugger seemed to work around a problem. The debugger necessarily changes the timing and resource allocations some.
In every case the problem turned out to be a legitmate bug - a mistake we had made in our code, and in some cases finding that bug required other measures beyond using the debugger to help us track it down. We ended up implementing a very sophisticated logging facility that we use in all our products now. It appends lines of text containing pertinent info into a log file that's created for each run. The detailed logging commands compile-out in a Release build, so we just leave them in the source code all the time and they add no overhead.
Unfortunately, there's no easy answer for your dilemma, other than to advise you to implement your own logging facility - or at least the ability to add printf statements (or similar) into your code so you can trace the progress in sticky situations.
Though I saw your message and am a plug-in developer myself, you might find you can get more direct help in the SDK forum...
http://forums.adobe.com/community/photoshop/photoshop_sdk
Good luck!
-Noel
Similar Messages
-
I connected my ipod touch 4g wi-fi with laptop ad hoc network....it's showing wi-fi signals but internet is not working...what is the problem in that can anyone help me...inadvances thanks
my laptop is Windows 7 and ip is this
192.168.102.12
255.255.255.0
192.168.102.1
DNS
192.168.254.2
192.168.254.3
in ipod touch 4g is DHCP and its showing
ip address 169.254.192.139
subnet mask 255.255.0.0.
remaining all blank -
Question
Since I downloaded Firefox 4, I can't see attachments in my Yahoo mail. This is not a problem of Yahoo, because with Internet Explorer works fine. What is the problem?Ok, now they are showing. I restarted my computer again and they are showing now.
-
I've made a movie in iMovie. Now all of a sudden the sound that I added to my video is mute. I havn't changed anything and in my other iMovie-projects the sound is working fine. What is the problem? Help!
Try double tapping the movie clip itself when inserted in the timeline and ensure that sound is on on the actual clip on the movie time line.
-
I have a Sony MP3 player. I tried downloading the software onto my MacBook Pro but it did not work. Can I use my Sony with my MacBook?
What does Sony say? Sony and Apple are not on the best of terms.
Ciao. -
My iPhone 4 turns off (crashes) after accesing any apps, It work fine when plugged to charger (power supply). I tried all troubleshooting steps suggested by Apple but it doesn't work. I backed up my phone. I restored it several times. Even I re-installed iphone software. Also I restored it as a new iphone but doesn't work. What could be the problem and what are the availble solutions?
We can't know if there's a "fixture" because we can't examine your phone. But Apple can. Make a Genius Bar appointment and get your phone evaluated.
-
Encore CS4 (version 4.0.0.258) will not finish burning to blu-ray disc when using a menu template. DVD burning works fine with menu template. Anyone know the problem with blu-ray? HELP!
For CS4 you must update the Roxio component, especially with Win8
http://forums.adobe.com/thread/1309029 http://docs.roxio.com/patches/pxengine4_18_16a.zip
http://corel.force.com/roxio/articles/en_US/Master_Article/000012592-PX-Engine-Description -and-Download -
I cannot send or receive mail. The screen is blank and clicking the icon has to effect. The other applications work fine. Any suggestions to remedy this?
What screen is blank? Post a screenshot, please.
-
My webpage is fine in the IE browser but in Firefox, I have lost the white background and part of the text/tables. I understand that Firefox is more exact with coding. Is there a way in DW3 I can check to see what I am missing and try and fix?
This is a first time post for me and I am a graphic designer by trade. Any help would be appreciated.
emwebberemwebber wrote:
My webpage is fine in the IE browser but in Firefox, I have lost the white background and part of the text/tables. I understand that Firefox is more exact with coding. Is there a way in DW3 I can check to see what I am missing and try and fix?
This is a first time post for me and I am a graphic designer by trade. Any help would be appreciated.
emwebber
You say "DW3" but I assume that you mean DWCS3 - is that correct?
Anyhow, to diagnose anything, we'd need to see your page (live) and its underlying code. Can you post a link for us to examine? -
Ipa debug build works fine but release build crashes
I have done a project in flash builder 4.6 air sdk 3.5 , using AS3 while debuging its works fine in emulator and device after that I installed the realease version on the same device which have IOS 7 the app crashes after loading the first screen and doesn't respond. Android version working fine too please help me on this topic thank you.
Are you using device debugging or device debugging in interpreter mode? There is a chance that you’re relying on some external code in swfs you’re loading, and that will work in interpreter mode, and on Android, but not on iOS in a regular build.
-
My iPad 2 Location Service works fine but does not work on my home Airport router. How can I fix the problem?
lbryan1987 wrote:
I dont want the button problem solved i need to know how to restore the phone without using that button or going into settings
You don't in the condition it's in. You will either have to get the phone replaced by Apple or pay a 3rd party to repair it.
there seriously should be more than two ways to solve this other wise apple is useless and we will never buy another apple product.
Seriously? It's physically broken! -
I am using chat-r wireless and facetime is not working but when i put rogers fido or any other carrier sim in it work. Anyone know what the problem?
I'm guessing it's a compatibility problem similar to that that T-Mobile in the US has. I'm not familiar with chat-r wireless, but I'm guessing it's not a supported carrier for the iPhone. If they can't tell you how to fix it, I'm guessing it's just plain not going to work.
-
problem with photoshop CS6 I have an imac intel 10.6.8...when I try to launch photoshop the icon bounces a few times then the adobe app manager tries to open then they both quit. they keep doing this over and over again but won't launch. worked fine for a few days after install.
problem with photoshop CS6 I have an imac intel 10.6.8...when I try to launch photoshop the icon bounces a few times then the adobe app manager tries to open then they both quit. they keep doing this over and over again but won't launch. worked fine for a few days after install.
-
My phone is stuck on apple screen and i've tried to reboot it and connect it to my computer many times but it doesn't work. Can anybody help me?
This is covered in the basics section of the manual:
iPhone User Guide (For iOS 5.0 Software) -
Hi! I sold my Iphone on ebay. The seller wants to connect the Iphone with his Apple ID, but it did not work because it says that the Iphone is already connected with another Apple ID. How can I get rid of this old connection? What do I have to do?
What to do before selling or giving away your iPhone, iPad, or iPod touch
http://support.apple.com/kb/HT5661
MaggySimpson wrote:
Hi! I sold my Iphone on ebay.
Follow the instructions to remove a device you no longer have.
From here > http://support.apple.com/kb/PH13695?viewlocale=en_US
Maybe you are looking for
-
My Adobe Cloud desktop app does not show login fields
Hi Folks, Unfortunately when I open my adobe cloud desktop app, the cloud app shows up but the login fields do not appear and I cannot login anymore nor I can use my programs anymore. Does anyone has an answer to this issue? Thanks R
-
LCD 20" Cinema Display Not Working on MBP
Hi people! Somehow, the Apple Cinema Display (LCD) of 20" isn't working when I plug it to the MBP (late 2011). The monitor remains black after pluging it. Sometimes is detected by the MBP, and sometimes it isn't. Quite random thing. Same hapens when
-
Permissions on Pages & Workesets?
Hi All I was wondering if it is possible to set permissions on pages or worksets. So if a user has no permissions to a page then it will not appear in the navigation? Can this be done, and if so does anyone have any information on how to set this up?
-
How do you change the tempo on a track once you have started the editing process
I dont know why but i cant figure out how to change the tempo of a track after i have set it before creating the project and begin the editing process on it. i just want to be able to slow the song down because some times i miss the desired tempo ran
-
Report Not Created/Displayed
On two servers one running MX7.01 and the other MX 7.02 I am encountering situations where reports that have been functioing fine for many, many months are now behaving strangely. When a report is selected the CFREPORT (PDF Format) tag kicks off and