User forums > Help

Codeblocks IDE not closing and returning when run in automated build environment

<< < (2/3) > >>

asivakum:

--- Quote from: oBFusCATed on May 27, 2021, 12:40:59 pm ---Connect with remote desktop or vnc and see where it got stuck.

--- End quote ---

The codeblocks is launched as a background process, and when we do remote desktop to that server, we cannot see whats the issue, as no codeblocks window is opened in the server.
We can only see that a codeblocks application is running in the taskManager.

asivakum:

--- Quote from: BlueHazzard on May 27, 2021, 05:05:15 pm ---Is the build duration long?
Is there a lot output in the log?

--- End quote ---
No, it takes only a minute to run the build, and the output file will be within 70 KB only,

oBFusCATed:

--- Quote from: asivakum on May 28, 2021, 12:00:01 pm ---The codeblocks is launched as a background process, and when we do remote desktop to that server, we cannot see whats the issue, as no codeblocks window is opened in the server.
We can only see that a codeblocks application is running in the taskManager.

--- End quote ---
What do you mean by "background process"? Windows service?

If you don't see any windows, then you'll have to attach a debugger and try to find where it is getting stuck.

asivakum:

--- Quote from: oBFusCATed on May 28, 2021, 12:05:04 pm ---What do you mean by "background process"? Windows service?

If you don't see any windows, then you'll have to attach a debugger and try to find where it is getting stuck.

--- End quote ---

Not sure if its launched a windows service, but in the task Manager it is shown as a background process.

Can you say the steps to debug using a debugger ?

oBFusCATed:

--- Quote from: asivakum on May 28, 2021, 12:08:34 pm ---Not sure if its launched a windows service, but in the task Manager it is shown as a background process.

--- End quote ---
You have to find out. Most probably CB cannot work correctly if run as a service.


--- Quote from: asivakum on May 28, 2021, 12:08:34 pm ---Can you say the steps to debug using a debugger ?

--- End quote ---
Find a debugger (some version of gdb) and attach to the running process.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version