Author Topic: debugger not starting app  (Read 2113 times)

Offline matty47

  • Mr. Drawsprite
  • **
  • Posts: 71
    • View Profile
    • Matt and Marg's Homesite
debugger not starting app
« on: 2010-Jan-23 »
Has anyone else had trouble with the degugger? If I enable building with the debugger and then do a compile/run the project compiles, links and then a message appears that the debug session has started but there is no application running. If I turn off the debugger and do a compile/run the application runs fine. I have tried this with various of the samples and always seems to do the same thing. Any ideas??
using the latest version 7.242, Win XP.
THanks
MAtthew

Offline Moru

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1793
    • View Profile
    • Homepage
Re: debugger not starting app
« Reply #1 on: 2010-Jan-23 »
This always happens if you don't close the previous debugging session first. You need to press the stop button or at least run the program twice, first time it just closes the previous session, then you can start it normally.

Offline matty47

  • Mr. Drawsprite
  • **
  • Posts: 71
    • View Profile
    • Matt and Marg's Homesite
Re: debugger not starting app
« Reply #2 on: 2010-Jan-24 »
I don't think this is what is happening. The program is not starting so the stop button does not do anything. If I run with debugging turned on the output windows just indicates start debug session but nothing happens?? I can repeat this a few times and still the same. Maybe I need to reinstall............

MrTAToad

  • Guest
Re: debugger not starting app
« Reply #3 on: 2010-Jan-24 »
I've had it fairly often - for some reason a previously run program doesn't exit properly (or doesn't inform the debugger that it has done).

It happens more in Windows 7 than XP

You cant terminate the program in the Task Manager because it wont end - the only way to get around it is to close GLBasic, re-load it and then the project.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10859
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: debugger not starting app
« Reply #4 on: 2011-Jan-20 »
I've finally got this working, too.

If you're interested, read: http://msdn.microsoft.com/en-us/library/ms681423(VS.85).aspx and find the 2 spots where it says "CloseHandle".
:puke: