RMChart Question

Started by RhodyRich, March 10, 2009, 05:43:11 PM

Previous topic - Next topic

RhodyRich

I'm debugging an application using RMChart. It works fine but it's happened to me several times now during a debugging session where the code generated by FireFly will not run. I'll be working using some message boxes to debug some code when I'll enter a message box, compile, and nothing. Compile finishes fine. It just won't run. Reboot the PC and all is well. Any idea what might be happening here? Even unloading and loading Firefly will not fix this. Only a reboot has worked.

My program is generating a series of charts. Each chart replaces the last one in the dialog box. The RMChart help file says that I do not have to kill each chart but now I'm thinking that maybe I do. That is the next thing I am trying but just thought I would check with the wisdom of the Forum.

TechSupport

Kind of sounds like maybe your compiled EXE is staying in memory? Bring up your Task Manager and look for a process named after your compiled EXE..... kill it.

Worth a shot.

RhodyRich

I thought of that but nothing was listed with the Task Manager. So far, killing each graph before the next one is created seems to be working. Won't know for certain unless the problem disappears.

TechSupport

Tough question. Maybe the graphs use some threads that continue to run if the graph is not killed properly. Sorry I can't be of more help but I really don't know what the problem can be. Maybe if you pop an email off to RMChart's aithor he may have more ideas.

RhodyRich

I tried contacting the author of RMChart but he is not able to provide support at this time.

In the past I would sometimes be debugging with FireFly. I would compile but nothing would happen when the program should be executing. In these cases I always found that I had not closed a program that was previously running. Closing the program normally or with Task Manager always fixed the problem. When I used Task Manager, the program that was running always appeared as a task. It was easy to pick out and close.

With the RMChart situation I described, this program does not appear as a task on the Task Manager Task list. Instead it appears as a running process on the Process list. Killing that process allows FireFly to compile and run as normal. Killing the process is a lot quicker than rebooting so that is great.

What is strange is that this behavior is not consistent. I can run, debug, edit, rerun, etc. many times without a problem. Then, all of a sudden, the process that has normally been terminating when the program terminates does not and I have to kill it with the Task Manager. It is this seemingly erratic behavior that has me stumped. Hopefully this behavior will not manifest itself when the application runs routinely outside of the FireFly development environment.