You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

axtens

Trainee

  • "axtens" is male
  • "axtens" started this thread

Posts: 37

Date of registration: Mar 16th 2009

Location: Perth, WA, Australia

Occupation: Software/Test Engineer

Hobbies: be a husband and a dad, play ukulele, sing

  • Send private message

1

Monday, October 12th 2009, 3:37pm

Figure out how to determine if code is executed from within the IDE or not.

Re A1880's idea.

Naive question: Seeing as the IDE has its own hWnd, could comparing the app's hWnd to the IDE's hWnd work?

Bruce.

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

2

Monday, October 12th 2009, 4:04pm

The Jabaco IDE starts the debuggee as separate Java process.
It uses Java Network Launching Protocol (JNLP) to do that.
This process is thus remotely controlled to be debuggable.

One could analyse parent/child relationships of process IDs to detect the "child" status w.r.t. the IDE.
But there ought to be simpler ways to answer the "isInIDE" question.
Probably a matter of some JNLP calls.

Greetings!

A1880

Rate this thread
WoltLab Burning Board