Sysprogs forums › Forums › VisualGDB › Disable setting breakpoint at main
Tagged: breakpoint
- This topic has 3 replies, 2 voices, and was last updated 5 years, 2 months ago by support.
-
AuthorPosts
-
October 19, 2019 at 11:35 #26235ChangedDailyParticipant
Hi
I am unable to disable breakpoint at main. This makes debugging certain projects impossible. I have had a lot of trouble with my standalone projects since upgrading to 5.4R6 some time ago.
This is the debug section of vgdbsettings:
<span> <Debug xsi:type="com.visualgdb.debug.embedded"> <AdditionalStartupCommands /> <AdditionalGDBSettings> <Features> <DisableAutoDetection>false</DisableAutoDetection> <UseFrameParameter>false</UseFrameParameter> <SimpleValuesFlagSupported>false</SimpleValuesFlagSupported> <ListLocalsSupported>false</ListLocalsSupported> <ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable> <ThreadInfoSupported>false</ThreadInfoSupported> <PendingBreakpointsSupported>false</PendingBreakpointsSupported> <SupportTargetCommand>false</SupportTargetCommand> <ReliableBreakpointNotifications>false</ReliableBreakpointNotifications> </Features> <EnableSmartStepping>false</EnableSmartStepping> <FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications> <ForceSingleThreadedMode>false</ForceSingleThreadedMode> <UseAppleExtensions>false</UseAppleExtensions> <CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning> <MakeLogFile>false</MakeLogFile> <IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping> <UseRelativePathsOnly>false</UseRelativePathsOnly> <ExitAction>None</ExitAction> <DisableDisassembly>false</DisableDisassembly> <ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand> <StepIntoNewInstanceEntry /> <ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat> <DisableSignals>false</DisableSignals> <EnableAsyncExecutionMode>false</EnableAsyncExecutionMode> <EnableNonStopMode>false</EnableNonStopMode> <MaxBreakpointLimit>0</MaxBreakpointLimit> </AdditionalGDBSettings> <DebugMethod> <ID>com.sysprogs.arm.openocd</ID> <InterfaceID>stlink-v2</InterfaceID> <InterfaceSerialNumber>6&2A0B5975&0&1</InterfaceSerialNumber> <Configuration xsi:type="com.visualgdb.edp.openocd.settings"> <CommandLine>-f interface/stlink-v2.cfg -f target/stm32f1x.cfg -c init -c "reset init"</CommandLine> <ExtraParameters> <Frequency xsi:nil="true" /> <BoostedFrequency xsi:nil="true" /> <ConnectUnderReset>true</ConnectUnderReset> </ExtraParameters> <LoadProgressGUIThreshold>131072</LoadProgressGUIThreshold> <ProgramMode>Auto</ProgramMode> <StartupCommands> <string>set remotetimeout 60</string> <string>target remote :$$SYS:GDB_PORT$$</string> <string>load</string> </StartupCommands> <ProgramFLASHUsingExternalTool>false</ProgramFLASHUsingExternalTool> <PreferredGDBPort>0</PreferredGDBPort> <PreferredTelnetPort>0</PreferredTelnetPort> </Configuration> </DebugMethod> <AutoDetectRTOS>true</AutoDetectRTOS> <SemihostingSupport>Auto</SemihostingSupport> <SemihostingPollingDelay>0</SemihostingPollingDelay> <StepIntoEntryPoint>false</StepIntoEntryPoint> <ReloadFirmwareOnReset>false</ReloadFirmwareOnReset> <ValidateEndOfStackAddress>true</ValidateEndOfStackAddress> <StopAtEntryPoint>false</StopAtEntryPoint> <EnableVirtualHalts>false</EnableVirtualHalts> <DynamicAnalysisSettings /> <EndOfStackSymbol>_estack</EndOfStackSymbol> <TimestampProviderTicksPerSecond>0</TimestampProviderTicksPerSecond> <KeepConsoleAfterExit>false</KeepConsoleAfterExit> <CheckInterfaceDrivers>true</CheckInterfaceDrivers> </Debug></span><span> <Debug xsi:type="com.visualgdb.debug.embedded"> <AdditionalStartupCommands /> <AdditionalGDBSettings> <Features> <DisableAutoDetection>false</DisableAutoDetection> <UseFrameParameter>false</UseFrameParameter> <SimpleValuesFlagSupported>false</SimpleValuesFlagSupported> <ListLocalsSupported>false</ListLocalsSupported> <ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable> <ThreadInfoSupported>false</ThreadInfoSupported> <PendingBreakpointsSupported>false</PendingBreakpointsSupported> <SupportTargetCommand>false</SupportTargetCommand> <ReliableBreakpointNotifications>false</ReliableBreakpointNotifications> </Features> <EnableSmartStepping>false</EnableSmartStepping> <FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications> <ForceSingleThreadedMode>false</ForceSingleThreadedMode> <UseAppleExtensions>false</UseAppleExtensions> <CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning> <MakeLogFile>false</MakeLogFile> <IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping> <UseRelativePathsOnly>false</UseRelativePathsOnly> <ExitAction>None</ExitAction> <DisableDisassembly>false</DisableDisassembly> <ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand> <StepIntoNewInstanceEntry /> <ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat> <DisableSignals>false</DisableSignals> <EnableAsyncExecutionMode>false</EnableAsyncExecutionMode> <EnableNonStopMode>false</EnableNonStopMode> <MaxBreakpointLimit>0</MaxBreakpointLimit> </AdditionalGDBSettings> <DebugMethod> <ID>com.sysprogs.arm.openocd</ID> <InterfaceID>stlink-v2</InterfaceID> <InterfaceSerialNumber>6&2A0B5975&0&1</InterfaceSerialNumber> <Configuration xsi:type="com.visualgdb.edp.openocd.settings"> <CommandLine>-f interface/stlink-v2.cfg -f target/stm32f1x.cfg -c init -c "reset init"</CommandLine> <ExtraParameters> <Frequency xsi:nil="true" /> <BoostedFrequency xsi:nil="true" /> <ConnectUnderReset>true</ConnectUnderReset> </ExtraParameters> <LoadProgressGUIThreshold>131072</LoadProgressGUIThreshold> <ProgramMode>Auto</ProgramMode> <StartupCommands> <string>set remotetimeout 60</string> <string>target remote :$$SYS:GDB_PORT$$</string> <string>load</string> </StartupCommands> <ProgramFLASHUsingExternalTool>false</ProgramFLASHUsingExternalTool> <PreferredGDBPort>0</PreferredGDBPort> <PreferredTelnetPort>0</PreferredTelnetPort> </Configuration> </DebugMethod> <AutoDetectRTOS>true</AutoDetectRTOS> <SemihostingSupport>Auto</SemihostingSupport> <SemihostingPollingDelay>0</SemihostingPollingDelay> <StepIntoEntryPoint>false</StepIntoEntryPoint> <ReloadFirmwareOnReset>false</ReloadFirmwareOnReset> <ValidateEndOfStackAddress>true</ValidateEndOfStackAddress> <StopAtEntryPoint>false</StopAtEntryPoint> <EnableVirtualHalts>false</EnableVirtualHalts> <DynamicAnalysisSettings /> <EndOfStackSymbol>_estack</EndOfStackSymbol> <TimestampProviderTicksPerSecond>0</TimestampProviderTicksPerSecond> <KeepConsoleAfterExit>false</KeepConsoleAfterExit> <CheckInterfaceDrivers>true</CheckInterfaceDrivers> </Debug></span>
I would greatly appreciate help in disabling this breakpoint!
- This topic was modified 5 years, 2 months ago by support. Reason: formatting
October 19, 2019 at 15:37 #26240supportKeymasterSorry, it looks like your support period has expired. Please consider renewing it here and we will help you get everything to work.
October 19, 2019 at 22:25 #26244ChangedDailyParticipantIt was only after I renewed my subscription last year and updated VGDB that almost all my projects stopped working.
Well I’m pleased to say I managed to get this working myself eventually, just as well since it appears I’m on my own. If it helps anybody I think what fixed it was pressing “Rebuild MSBuild & Intellisense files for this toolchain” on the MSBuild settings tab.
October 19, 2019 at 22:30 #26245supportKeymasterSorry, most likely you have changed some settings or installed a new version of a toolchain/BSP that was not compatible with the existing projects.
Although we do our best to keep VisualGDB releases backward-compatible, it is not possible for us to guarantee the same behavior for every external toolchain, SDK or library that could be possibly used with VisualGDB, sorry.
-
AuthorPosts
- You must be logged in to reply to this topic.