This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | StepInto doesn't work if "Auto Start Process After Program Was Loaded" is unchecked | ||
---|---|---|---|
Product: | cnd | Reporter: | Chihin Ko <chihinko> |
Component: | Debugger | Assignee: | Chihin Ko <chihinko> |
Status: | VERIFIED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 7.0.1 | ||
Hardware: | Sun | ||
OS: | Solaris | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Chihin Ko
2011-09-15 03:14:47 UTC
RUN_AUTOSTART option govern two functionalities : - For GUI it govern if we want to issue "run" right after program was loaded - It also control engine option "dbxenv run_autostart", which in turn govern if next/step/cont valid commands if process is not alive In IDE, we want "dbxenv run_autostart" always on, so user and do "StepInto" a project. And in AUTOSTART option property "is engine option" should be default to "false", so when this option is unchecked, "dbxenv run_autostart" won't be set to "off". fix is reviewed and looks safe integrated into releases_elif as 791814526f2a verified in sputnik-solstudio-main build #3313 (20110922) Now the behavior is the following: if a user unchecks "Auto Start Process After Program Was Loaded" then "### dbxenv run_autostart off" does not appear in debugger console but when a user starts debugging next time the current position line in the editor is not highlighted in green and shown in grey (like in dbxtool) and becomes green after StepOver. It looks like "Auto Start Process After Program Was Loaded" checked on after starting the debugger. Meanwhile I consider the bug as fixed. (In reply to comment #5) > verified in sputnik-solstudio-main build #3313 (20110922) > Now the behavior is the following: > if a user unchecks "Auto Start Process After Program Was Loaded" then "### > dbxenv run_autostart off" does not appear in debugger console but when a user > starts debugging next time the current position line in the editor is not > highlighted in green and shown in grey (like in dbxtool) and becomes green Yes, this is expected. When uncheck "Auto Start Process After Program Was Loaded" debugger became load-mode (like dbxtool). It does not start process automatically. The point is debugger should still be able to do "Step" or "cont" in this case. > after StepOver. It looks like "Auto Start Process After Program Was Loaded" > checked on after starting the debugger. > Meanwhile I consider the bug as fixed. Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/791814526f2a User: chihinko@netbeans.org Log: manual import of fix for #202153 - StepInto doesn't work if 'Auto Start Process After Program Was Loaded' is unchecked verified in OSS dev build based on 7.0.1 patch2 see Comment #5 |