Debug application without recompile [closed] - delphi

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
In an earlier version of delphi (2007/2009) I found a way to debug the application without recompiling.
But I can't find it in XE5:(
I often find my self in need of restart debugging to debug a condition that only appears on application load.
So avoiding an unnecessary compile would be a great time saver.
Best regards
Ove B-)

I am not sure if this is what you need, but you can debug an application without having delphi trying to recompile it by following these steps:
launch the application outside of the debugger (with "run without debugging" or by executing it from windows)
attach the debugger to the already running instance you just created by using the delphi menu item "Run->Attach to process..."
Edit: a little error i made: you actually have to launch your program from windows: using the "Run without debugging" option from the IDE will make delphi try to recompile the project.

Related

BC2008 - No input sources specified [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I have downloaded web project source code from github.I am using VS2015 enterprise edition and when build the project it throws below two errors.
The source code is in vb.It always throws error and due to that I could not modify existing source code.
BC2008 - No input sources specified
BC2011 - BC2011 unable to open response file 'C:\Windows\System32\config\systemprofile\AppData\Local\Temp\tmp96de1e2bc3d24b21b1987021ee3aa247.rsp'
I have uninstalled and reinstall VS2015 and it resolved this error.

MVC Projects upload on server and IIS6 without publish [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have a MVC project. I am not interesting a publishing my project. because after publishing it creates a single Dll. that times i am not able to change code of a particular page.
I want to direct upload a files or folders of MVC projects. Can It possible. if possibles, please explain me..
Regards,
Bharat Gupta
You can't. IIS is not a compiler and cannot compile your source files. It can, however, understand a DLL. When you publish your project, only the source code files (for example .cs) will be compiled and packed in the DLL. All other resources, such as scripts, images and even views, are shipped as is. You can only make changes within these files. This means that after publishing you can change your JavaScript code, or CSS styles or even "Razor code" inside your views (e.g. ".cshtml"), but you cannot change the code inside controllers.

Installshield: Setting the Installdir to an environment variable [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
EDIT:
NO LONGER RELEVANT. Due to difficulties with Installshield including not only this issue but also issues with getting it to build with the project in Visual Studio and its inability to replace one of the old files that needs to be replaced I am now coding an installer in C#. I should have done this earlier because I'd be done by now. Thank you Christopher Painter and Michael Urman for trying to guide me though this issue. Unfortunately I did not get anywhere further with it.
ORIGINAL POST BELOW
Honestly, this has been like pulling teeth. I hope that I'm missing something blatantly obvious. I have been trying to get Installshield to let me set the INSTALLDIR to an environmental variable. This is necessary because of the way the company does things. I know I can set it outside of the installer via a batch file which calls the MSI and passes the folder via an argument, but that solution ended up with an unfriendly MSI. If anyone has any internal solutions please let me know.
Windows Installer has the Environment table that is exposed by InstallShield in the environment view and component | advanced settings | environment view.
Setting Environment Variables
Windows Installer allows you to refer to environment variables using a variant of property notation. I would suggest an approach similar to RobertDickau's, where you use a set-property custom action early to set INSTALLDIR from [%SOMEVAR]. Only run the custom action if INSTALLDIR isn't already defined, so that people can override INSTALLDIR at the command line. Note that this must be run before costing, or you will have to find a different condition and use a set-directory action (like Robert mentions) instead.

How do I easily open a lua file on MacOS? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
I installed the Corona SDK on MacOS. Now I'm trying to open a .lua file. My most preferable way I've found to do it so far is to right-click and then Open With->Other... and select Text Wrangler. I installed the lua plug-in for Eclipse but Eclipse says it cannot open files of this type (though it works from inside a project). How can I quickly open a file for editing, for example type command+O and have it show up in Eclipse.
Select the file. Type Cmd+i. In the "Open with" section, choose the program you'd like to use to open it in the drop down menu.

code formatter for grails and Groovy? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I'm currently using a basic text editor to write my grails code. Does anyone know of a program that will automatically format code with indentation similar to indent does for C? I'd rather use a commandline program to do this but can use an IDE to format my code if that's the only option.
Try NetBeans v.6.7 (not the current production release 6.5) with the NetBeans Groovy/Grails plugin enabled. This is a nice clean IDE interface (easier to use than Eclipse IMHO), and you can set it up to integrate with your Grails installation. You can call all your Grails tasks from the IDE, edit your code, test and run your project. Then, if you want to format your code, you just right-click in the code editor and select "Format". Easy!
I am using VIM / GVIM for typing code in Groovy/Grails. it has code formatting, I just need to tell my VIM that groovy and java are similar....
and then press gg = G [enter] (format from top to bottom)
There is a tool recommended in this thread for this purpose. I have not tried it but maybe worth a look.
Here's some instructions on how to get Grails working with NetBeans (couldn't submit the second URL in my last post).
the groovy eclipse plugin does a decent job of formatting groovy code. sts might be smarter about some of the grails code.
You can use npm-groovy-lint for command line, and VsCode Groovy Lint in Visual Studio Code IDE :)
https://www.npmjs.com/package/npm-groovy-lint
https://marketplace.visualstudio.com/items?itemName=NicolasVuillamy.vscode-groovy-lint

Resources