473,385 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

what could cause inability to "Debug..step into" code?

Hello,

I am a neophyte with Visual Basic but have been trying to hurry and get up to speed. I used to be able to "step into" code using Debug..step into but for the last couple of days I am unable to. Regardless of where in the code I place my cursor, I hear a microsoft error "thunk" and step into doesn't work. I am using VBA in Access if that matters.

here's one possible clue but it may just be a coincidence:

I tried some example code yesterday, though today I am working with my own code unrelated to it. Is there some kind of security or setting that can cause this? Thank you so much for your time. I feel lost without Debug!
Jan 12 '07 #1
2 2304
It's me again :-) I have another clue:
Originally I had this line to begin the Function:

Expand|Select|Wrap|Line Numbers
  1. Public Function ProcessFileImport(ByVal sFile As String, ByVal sTable As String) As String
If I change it to:

Expand|Select|Wrap|Line Numbers
  1. Public Function ProcessFileImport()
I can Debug..Step Into

Could someone please explain to this newbie why I cannot "step into" when I am not using a function with parameters and can when using an ordinary procedure without variables passed in?

Thanks!!
Jan 12 '07 #2
Killer42
8,435 Expert 8TB
...Could someone please explain to this newbie why I cannot "step into" when I am not using a function with parameters and can when using an ordinary procedure without variables passed in?
Hm... that is a weird one, isn't it. I can't think of any reason why the parameters would make a difference to Debug mode.

What happens if you put a breakpoint inside this routine that you can't step into?
Jan 13 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Dan Perl | last post by:
Is there a mechanism or an idiom for adding code for debugging so that it can easily be removed in the production code? I am thinking of something similar to the C/C++ preprocessor statements with...
1
by: scott | last post by:
Hi, Does anyone know how to make available the "step into stored procedure" option when connecting to a remote SQL server (on lan) using VS 2003 ? note - win xp pro - 2000 domain - 2003...
5
by: John Smith | last post by:
Sorry if this is the wrong forum... Does anyone know what the difference is between a debug build and an optimised debug build in Visual Studio 2003?
10
by: John Smith | last post by:
After reading C# documentation the Conditional attribute seemed the way to go, but after inspecting the IL it seems those methods are still there and I imagine the CLR removes them. Using #if DEBUG...
2
by: Jeremy S. | last post by:
By default, Web.config has the following section: <compilation defaultLanguage="c#" debug="true" /> note that debug="true" There is a comment - also in the default Web.config - that states...
3
by: Whiplash | last post by:
I've got a web app that has the debug parameter in the web.config file set to true. Everything works great. However, I want to set debug to false before putting the app into production. When I do...
3
by: André | last post by:
Hi, I put that question already, but it's still not very clear to me, so ... Assume following option in web.config= debug="false" but in one aspx page (test.aspx) <%@ debug="true" ..%>
3
by: =?Utf-8?B?QWxleCBNYWdoZW4=?= | last post by:
Does anyone know why I have no "Step Into" option during debugging in VS 2005/C# app? I have "Step Over" but no "Step Into" even though it would be stepping into one of my own functions inside the...
1
by: =?Utf-8?B?RWluYXY=?= | last post by:
hi, im developing a dll app under vs2005 (sp1). when trying to load my exe app (which uses the dll) im getting the following err message: "the application failed to initialize properly...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.