WINCE 7 - Debug application from SDK - debugger won't kick in
Hi,
Here is a scenario that doesn't work anymore since a few weeks and I don't know why. Maybe you can help!
Using VS2008 and a SDK from my WINCE 7 osdesign, I create an application based on the SDK and I try to deploy it and remote debug it. It was working great (using cmaccept and conmanclient2 on the device). But since a while, VS2008 is able to deploy but the
debugger won't start. After a while, I get the following message "".
I installed VS2008 and the OSdesign SDK on another machine but same result.
Service pack 1 is installed, patch for Embedded compact 7 also installed, firewall on the device is turned off.
I can't find the reason why it is not working anymore. Any ideas?
Which SYSGEN are required to have that working? Maybe the corporate firewall is blocking traffic? How do I verify that? Can't find the way it works under the hood validate where exactly it fails.
Thanks for your help!
David
I found it, but can't explain it.
Here is a part of the e-mail I sent to the support guys at Microsoft
We define SYSGEN_SMART_DEVICES to have the possibility to create an SDK. Then, SYSGEN_STANDARDSHELL is included because it is required by SYSGEN_SMART_DEVICES. But
we don’t want explorer.exe to start, so we removed it from the [HKEY_LOCAL_MACHINE\init] key, leaving “Launch50”=”” instead of
"Launch50"="explorer.exe". This way, explorer.exe is not starting at system startup but it
appears remote debugging is not working when we do this. When I replace explorer.exe in the startup sequence, the remote debugging is working.
I don't understand the real utility of SYSGEN_SMART_DEVICES because when I remove it, I can still create SDKs. I thought it was necessary to create an SDK. Is it the case?
Thanks
David
Similar Messages
-
I just installed LV2011 and one dll from my vi won't load with the error "application configuration is incorrect", which is Windows lingo for "missing package dependencies". All the computers at my company with 2010 loaded seem to do OK. When I do a Dependencies Walk I get missing Visual C debug dll's missing plus IEshims and wer which both have a whole tree of dependencies missing on my machine. The Windows install is the same "Windows XP version 2002 Service Pack 3" on my PC and the working PC's. So I'm thinking I have to uninstall 2011 and go back to 2010. Is this correct? Those VC debug dll's were installed on the machines with 2010 in them but were not installed in mine.
I've heard the advice to recompile the dll with debug turned off but I don't have access to the source code.
Thanks in advance.u87 wrote:
Thanks for the reply. This at least tells me that going back to LV2010 is not likely to solve the problem. The missing dll's are:
MFC90D.dll
MSVCR90D.dll
IESHMS.dll
WER.dll
And, once again, IESHMS and WER have other dependencies. So perhaps i need to install the Visual C++ development environment.
IESHIMS.dll is an Internet Explorer DLL that gets usually delay loaded by shdocvw.dll. As delay load it can not cause DLL load errors but only runtime errors. Maybe your DLL has it as direct dependency but that is unlikely since it does not have a documented interface.
WER.dll is Windows error reporting for Vista/Win7.
MFC90D.dll is the Microsoft Foundation classes and MSVCR90D.dll is the MS C runtime library, both as debug variant.
So all the DLLs you mention are actually MS DLLs! You haven't identified the DLL that you try to access in LabVIEW that causes these error messages. IESHIMS and WER are usually delay loaded by any component that needs it and should not likely be used by non MS code.
What is the DLL you try to load into LabVIEW and by whom? Get the provider of that DLL to provide you a non Debug build of the DLL. Installing Visual C on all the machines just to make the DLL load is not a solution, besides that it is likely not legal since I doubt you have that many licenses.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Debug the swing application from eclipse
Hi
I had a swing application, to create a exe file i build the application using using build.xml. To run the application we need to open the exe file.
I want to debug this swing application from eclipse. Can anybody please tell me how to debug this application.
Note: I can able to debug simple swing application. But i can't able to debug this application.
Thanks
mindusIf it's an actual .exe--that is, if you've compiled it to a native Windows executable--then you can't debug it using a Java debugger (such as the one in Eclipse).
If, on the other hand, you just have a .jar file or a bunch of .class files, then you can debug this app the same way you debugged the other one.
If you don't provide more details about what you actually did and what exact problems you're having ("I can't do it" contains no useful information whatsoever), then it's impossible to provide any more detailed advice than this. -
Debugging the webdynpro abap application from portal.
I developed a WebDynpro application and integrated in portal. I have to catch some portal events.For that i have written some code in my application. I tried to debug the application from portal by using all the available break-point types.but we could not .
Anybody have an idea how to debug a WebDynpro application from portal.
Thanks,
Kumar.Hi
Few links to check:
External debugging is not working
Re: Debugging Abap webdynpro appln
Re: Unable to Debug WD ABAP application
Dedug is not working in Production Server.
a) Check on number of R/3 sessions opened at a time.
b) Check that user ID configured in portal using System Mapping Under 'Delegate User Administration' is the same user for which you are setting external breakpoint in backend system. -
I posted this in an older thread at the end:
Re: jdev 10 (9.0.5.2) debugger won't start
I can't run the debugger using the runner: jvm option of ojvm, hotspot, or client, and can't debug a simple standalone java class w/o an error window within the same project:
When I try to debug a standalone class (HelloWorld.java)
Status line showed connection problem.
got errors:
(can't gab the command line since JDEveloper is locked up - I have an hourglass and the only thing I can do is minimize, maximize, or close it)
c:\jdev10121\jdk\bin\]javaw.exe -ojvm -XXdebug,quiet,port2651 -classpath C:\Projects\jdev10121\MSI\MSI\
Debugger connected to local process.
Debugger connection to debugee process has been lost.
Debugger disconnected from local process.
Process exited.
Debugger unable to connect to local processIf I try to debug using client or hotspot, the application will start, but it does not recognize any of the breakpoints at all, so the debugger never kicks in. It does on a windows xp workstation running the same version of jdeveloper. Also, I can't recompile classes and replace on the fly.
I am able to run the web application regular (w/o debug) using ojvm.
My J2EE settings are 1.4.2_06. This is what resides in c:\jdev10121\jdk\bin. That same path is in my system path. The java_home env var is set to: c:\jdev10121\jdk.
I run the JDEV.exe rather than JDEVw.exe and nothing appears in the console window.
I can't recall anything about the machine that caused this to stop working as it was working less than 1 week ago. The machine is a Windows 2000 Dell workstation. I thought the problem might be caused by adding the Oracle XML Parser to the project, but I removed that library and commented out the code.
The only way the debugger works is to do REMOTE DEBUGGING (I'm connecting to my embedded oc4j via localhost though):
1. Start the application using hotspot in debug mode. Note the port that is sent to oc4j.
2. Create another project for remote debugging, and set the tools->project properties->remote debugging on for that project. right click and select remote debug, and type in the port from the other window. Once connected, I can set breakpoints and examine code, etc.
This is really troubling as putting system.debug messages for debugging is like going back to the early days of cobol on the vax for me -- no wait, the debugger under motif in 1994 worked... well, maybe before cobol then....
Anyway, please let me know if there's a solution to this.
Thanks,
EricBUMP.
THESE similar threads did not have a solution:
no response:
Debugger not working
<<NO RESPONSE>>
no answer:
Debugger unable to connect to remote process
<<NO RESPONSE>>
no answer
Debugger connection to debugee process has been lost
Debugger connection to debugee process has been lost
no response:
Debugger unable to connect to local process
Posted: Apr 13, 2006 12:27 PM
Debugger unable to connect to local process
I tried reinstalling JDeveloper but the debug function still does not work.
I just found this to be funny:
No search results for "debugger AND ojvm AND "won't start"". You should try a
less restrictive search.
Did you mean: debugger AND ovum AND "won't start" Again, thanks for reading this? (Am I talking to myself?)
Eric -
Error in Accessing Application from client
Code
Created Entities, Views, Application in a project.
Apllication tests ok.
In another project attempting to access application with the folowing code.
ApplicationModule am =
oracle.jbo.client.Configuration.createRootApplicationModule
("Ufax.UfaxApp", "UfaxAppLocal");
Transaction myTrans=am.getTransaction();
String URL="jdbc:oracle:thin@localhost";
ViewObject vo = am.findViewObject("ViewState2");
Text continued in next action...
Get error
Exception in thread main
JBO-30003: The application pool (Ufax.UfaxAppLocal) failed to checkout an
application module due to the following exception:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught:
oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught:
oracle.jbo.NoDefException, msg=JBO-25002: Definition Ufax.UfaxPartDb of type
Entity Definition not found
at oracle.jbo.JboException.<init>(JboException.java:343)
at
oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.jav
a
:1743)
at
oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPo
o
lImpl.java:2576)
at
oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieIm
p
l.java:441)
at
oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieIm
p
l.java:411)
at
oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieIm
p
l.java:406)
at
oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1370)
at
oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:
1
328)
at
oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:
1
300)
at Ufax.UfaxSMTP.readStates(UfaxSMTP.java:158)
at Ufax.UfaxSMTP.runit(UfaxSMTP.java:178)
at Ufax.UfaxSMTP.main(UfaxSMTP.java:37)
If I run in the debuger I get.
Debugger connected to local process.
Exception breakpoint occurred at line 486 of SessionCookieImpl.java.
oracle.jbo.common.ampool.ApplicationPoolExceptionHi,
The exception above indicates that the business component definitions from project1 are not on the classpath of the second project. Specifically, the framework could not load the def for: Ufax.UfaxPartDb.
Please ensure that the client project is properly referencing the model project. You may get a sample of how to do this by using the IDE to create a JClient application in a separate project. The client project will be configured properly for you.
Hope this helps,
JR -
Flash Pro CC 2014 crashes on debugging in iOS SDK 8.0
Hi,
Flash Pro CC 2014 crashes on debugging in iOS SDK 8.0
This is the path to the SDK:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SD Ks/iPhoneSimulator.sdk
Is also crashes on:
same path/iPhoneSimulator8.0.sdk
Anyone knows a solution to this?
Had the problem before with the former Flash Pro CC and older SDK.
But didnot really need it.
Any help is greatly appreciated.They are looking in to it. Follow this thread:
Problem to access iOS Simulator from Flash CC -
Android Studio SDK Manager Won't Start
I download the newest version of Android Studio from Google. You know there's something wrong to install it from AUR in China.
But when I click the SDK Manager button in Android Studio, the Manager does not start.
And then I go to the "android-studio/sdk/tools/" folder to run "./android"
$ ./android
The program 'Android SDK Manager' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 1968 error_code 8 request_code 139 minor_code 4)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Some infomation:
$ uname -a
Linux arch 3.16.1-1-ARCH #1 SMP PREEMPT Thu Aug 14 07:40:19 CEST 2014 x86_64 GNU/Linux
Thanks for your help:)Thanks very much for your reply.
But It does not work, while shows as followed
$ ./android --sync
Error: Flag '--sync' is not a valid global flag. Did you mean to specify it after the verb/object name?
Usage:
android [global options] action [action options]
Global options:
-s --silent : Silent mode, shows errors only.
-v --verbose : Verbose mode, shows errors, warnings and all messages.
--clear-cache: Clear the SDK Manager repository manifest cache.
-h --help : Help on a specific command.
Valid
actions
are
composed
of a verb
and an
optional
direct
object:
- sdk : Displays the SDK Manager window.
- avd : Displays the AVD Manager window.
- list : Lists existing targets or virtual devices.
- list avd : Lists existing Android Virtual Devices.
- list target : Lists existing targets.
- list device : Lists existing devices.
- list sdk : Lists remote SDK repository.
- create avd : Creates a new Android Virtual Device.
- move avd : Moves or renames an Android Virtual Device.
- delete avd : Deletes an Android Virtual Device.
- update avd : Updates an Android Virtual Device to match the folders
of a new SDK.
- create project : Creates a new Android project.
- update project : Updates an Android project (must already have an
AndroidManifest.xml).
- create test-project : Creates a new Android project for a test package.
- update test-project : Updates the Android project for a test package (must
already have an AndroidManifest.xml).
- create lib-project : Creates a new Android library project.
- update lib-project : Updates an Android library project (must already have
an AndroidManifest.xml).
- create uitest-project: Creates a new UI test project.
- update adb : Updates adb to support the USB devices declared in the
SDK add-ons.
- update sdk : Updates the SDK by suggesting new platforms to install
if available.
Napaim wrote:
Did you recently do a system update?
From searching around it seems like it's a graphical problem or a font problem.
Also maybe try running `./android --sync` just to see if there's a different output. -
How to debug applications live on Nokia N95 Series
Hi,
I have installed S60 SDK 3rd Edition for Java ME and I am using NetBeans 6.0.1 as the development environment.
Does anyone know how I can integrate these two to debug my application from PC on the N95 handset?
I have studied [this link|http://www.forum.nokia.com/main/resources/technologies/java/netbeans.html] and it sounds possible but I do not know how to do it.
Please somebody help me.
CheersInstall nS60_jme_sdk_3rd_e_FP1.zip
This simulator is acts same like
the following devics,
6124 classic, 6121 classic, 6120
classic, 5100 Xpress Music, 6110 Navigator, 6290, E71, E 66, E51, E90(screen
size different but platform is same), N82, N95-3 NAM, N81, N81 8GB, N95 8GB,
N76, N95.
2, Install [file://///csamdata1/softwares/J2ME/SDK_EMULATORS/Nokia/s60/]
nS60_jme_sdk_3rd_e_FP2.zip
This simulator is acts same like
the following devices,
5320 Xpress Music, 6650, N78, 6210
Navigator, 6220 classic, N96.
3, Install[file://///csamdata1/softwares/J2ME/SDK_EMULATORS/Nokia/s40]
Series_40_5th_Edition_SDK_Feature_Pack_1_1_0.zip
4, Both the simulators needs a proxy
setting to access internet. Setting steps are following
a. Start the Emulator,
b. go to tools {font:Wingdings}à{font} preferences {font:Wingdings}à{font}
network.
c. Enable use HTTP proxy, enter proxy
server name =and proxy server port
d. Click
ok. Restart Emulator.
Now you can access internet through
emulator.
5, Advantage of this simulator are
following
a. We can download the application form the
staging server or from live through emulator browser.
b. We
can test the application on the specific platform of nokia.
c. Easy
to configurable with eclipse.
6, Eclipse
configuration:
a. Window {font:Wingdings}à{font} Configuration {font:Wingdings}à{font}
J2ME{font:Wingdings}à{font}
Platform components. Right Click on wireless toolkit, Click Add Wireless
Toolkit.
b. Browse the path C:\S60\devices\S60_3rd_FP2_SDK,
Click Finish. -
Info : Migrating Apex Application from Non-SSO to SSO environment
Hi All,
This post is to share my experience while working on APEX. This may be useful to some apex developer.
If we migrate an apex application from a non-sso (i.e. http) to sso (i.e. https) environment, the flash chart doesn't work.
I found that in the source of a Flash Chart region, we use #HOST# variable to locate the swf file. The environment variable takes the correct path but with "http" as prefix. But to access application pages "https" is used. Because of which, the swf file couldn't be located by the application.
Work-around Solution : If I hard code the value i.e. the application path having "https" replacing #HOST# variable then the flash chart works fine. I couldn't found a way by which the #HOST# parameter value can be updated to take "https".
The same environment host other non-sso applications as well.
Any comments on this are welcomed.
Regards,
MangalHi Dirk,
Thanks for the reply.
As I mentioned earlier, by Non-SSO I mean "http" and by SSO I mean "https". This is because, before migration the application was accessible using "http" and now we have to use "https" alongwith SSO to access the application. I only want to highlight the Flash Chart issue with this migration.
The problem doesn't solves with your solution as I am getting correct instance/environment name with #HOST# but prefixed with "http" and not "https". Hence the application won't be able to locate the required swf file.
Even the workaround I mentioned is only feasible, if an application has only few Flash Charts. However, if there are large no. of Flash charts in an application, then it would be a tedious task to update all flash chart source either by an application item (as you mentioned in your post) or hard coding the path itself. Also, every new Flash Chart source needs to be updated by a developer to fix this.
A better solution is required by which the Flash chart source is not touched and the #HOST# variable for the application is updated to take the "https" prefixed to the swf file path.
Regards,
Mangal
Edited by: Mangal on Mar 5, 2009 11:31 PM -
What is the easiest way to open an application from Labview?
I need to open an application from labview and depending on a user's selection, load one out of a group of files for the application that is opened. I need to know what is the best or easiest way to open an application and load a file that is used by the application based on a selection.
Here is the response that I got from Cognex when I asked them about how to do this. Do you understand what they are talking about?
In order to do something like this you will probably want to look into the Display Control/SDK for In-Sight. The Display Control gets installed along with In-Sight Explorer and includes a control that can be used in an environment like Labview to communicate with In-Sight sensors while the SDK is an enhanced version of the Display Control that gives you more control and functionality. I am not very familiar with the Labview environment so I will give some code snippets in VB.Net and hopefully you can adjust them as necessary. Specifically I see 3 possible avenues to do this:
1) Using the Display Control you have access to many of the dialog boxes that are used in In-Sight Explorer including the Load Job dialog box. You can spawn this dialog box through a line of code similar to cvsInSightDisplay1.Edit.OpenJob.Execute(). I am not certain if the Labview environment will be able to spawn and display this dialog though. 2) With the addition of the SDK (additional purchase) you can directly access sensor properties including the job. There is a method called LoadJobFile to load jobs from on the sensor and LoadJobFileLocally to load jobs from the host machine. A typical line of code might be cvsInSightDisplay1.InSight.File.LoadJobFile("myjob1.job").3) If Labview cannot handle the dialogs and the SDK is not an option for you then you may still be able to do this using Native Mode commands. Native Mode commands are sent through a socket on the telnet port (typically port 23). Keep in mind that you will need to handle the username/password prompt and response when you first open the socket before issuing any Native Mode commands. The command to load a job file from the sensor would be the Load File command which would be a string similar to "LF myjob1.job". The Native Mode commands are documented in the In-Sight Explorer help file. -
How to set up on device debuging with J2ME SDK 3.0 and window mobile 6.5?
I got some infomation about setting up on device debuging in J2ME SDK 3.0 with real device(e.g samsung windown mobile B7330). When I start debuging on device, I got exception when open RMS
javax.microedition.rms.RecordStoreException: error opening record store fileHere my code:
public void saveProfile() {
byte[] data = toByteArray();
try {
rs = RecordStore.openRecordStore("kunkunProfile", true);
for (RecordEnumeration e = rs.enumerateRecords(null, null, false); e.hasNextElement();) {
int id = e.nextRecordId();
rs.deleteRecord(id);
rs.addRecord(data, 0, data.length);
rs.closeRecordStore();
} catch (Exception ex) {
System.out.println("Exception in OpenRecordStore..." + ex.getMessage());
try {
rs.addRecord(data, 0, data.length);
rs.closeRecordStore();
} catch (Exception e) {
ex.printStackTrace();
}Anybody help me? I am stuck here.Hi dominikg,
At first, You can try to restart the device-manager from system tray.
If it doesn't help, then try the following:
- stop the device manager
- Remove c:\Docement and Settings\<your User>\javame-sdk folder.
- Ran the device manager from <SDK>/bin directory
- try to debug again.
Did you tried to change port 51307 to another.
Early access build had some problems with device manager, I hope that final release will be better :)
BR,
Igor -
View Crystal Report File from SDK
Hello All,
I want to View Crystal Report File (.rpt file) from SDK (using VB 6 )
I have already try following code on my Add On :
Public Sub RunCrystalReport()
Dim crlApp As New CRAXDDRT.Application
Dim crlRep As CRAXDDRT.Report
Set crlRep = crlApp.OpenReport("D:\ReportTest.rpt")
Dim CRAX2 As CrystalActiveXReportViewerLib12Ctl.CrystalActiveXReportViewer
Set CRAX2 = Form2.CRAX
CRAX2.ReportSource = crlRep
CRAX2.ViewReport
End Sub
But, nothing happen
Could some one help one for this ?
Thanks a lot
Regards,
Arie
SDK BeginnerAmazing Sir !!...
I could run my report through B1 SDK right now...
Many thanks to you Sir..
Just one more thing, The Horisontal and Vertivcal Scroll control wasn't appear. Do I have to add scroll object or someting like that
Many thanks again to you Mr. Porcelli
Arie -
I have just agreed to software updates on my imac and now can't open my mail. There is a message saying this version of mail isn't compatible with this latest software. I have located the updated mail in the applications folder but it won't open. I don't have the original operating software disk. Does anyone have any suggestions?
Your reply suggests that you have moved Mail to a different location, which (as I said) will prevent it from being properly updated. You cannot use Mail 4.5 with any recent version of Mac OS X. Mac OS X 10.7 (Lion) included Mail 5 and Mac OS X 10.8 (Mountain Lion) includes Mail 6. I'm assuming that you have either Lion or Mountain Lion, but if that is incorrect, you will need to provide that information.
At this point, you will need to reinstall your system. Hold down command-R at startup and reinstall the system right on top of the old one. This should not disturb any of your documents or applications, though you should have backups beforehand in case something goes wrong. And at this point, with your system in an uncertain state (I don't entirely know what you have done to it), something could go wrong.
You will also want to delete the old copy of Mail 4.5, wherever that is. You can't use it.
In the future, do not move any of the preinstalled applications. Leave them where they are. -
How to start weblogic in debug mode from BEA WebLogic Eclipse plugin
I have a problem making weblogic work with eclipse3.1. I am using a BEA WebLogic plugin to handle weblogic (start/stop) from eclipse. However I want to debug my application and I am unable to figure out a way to start my weblogic in debug mode like we do in WSAD. I tried using some other plugins also but no luck. Please suggest me a plugin to handle this or any other way of debugging my application from eclipse. I am using weblogic 8.1.
Hi,
Dev Environment
weblogic eclipse plugin 2.0 beta
weblogic server 8.1
eclipse 3.1.1
Created a server that i would like to deploy my EJB so that i can put break points on my EJB in eclipse.
How do i do it?
I managed to deploy an ear (containing the ejb) directly to the weblogic installed folder and it deployed the ejb. But the breakpoint set in eclipse is not triggered. Of course in this case as weblogic server is running the .ear file deployed manually in the file system.
Any help is appreciated.
Mel
Maybe you are looking for
-
Help required with JSP and JMF
Hi Please check the following thread and let me know if JSP and JMF can be combined together http://forum.java.sun.com/thread.jspa?threadID=5161428&tstart=0 ~Aman
-
How do I delete pop up usernames that I don't want thet firefox pops up at a site when I click on username.
-
dear all can u plz give a brief description on GAP anallysis
-
I have a laptop running Windows 7 and the latest iCloud Panel installed. This laptop does not keep iCloud enabled after it has been turned off. Other computers/laptops on same network are working correctly. Looking for an answer and or soultion.
-
Hi All, I am trying to create a generic delta for master data "equipment" . table in SASP is "EQUI". I am choosing ALE delta . in that I have to provide table name and "changed doc object' . when I give "equi" as table name and "aedat" (changed on )